Skip to content

Formatted text #3

@Nupipun

Description

@Nupipun

For some reason your tool works when trying to paste text i previously copied on for example Discord because it pastes the plain text. But when trying to copy a text on a web page which text is formatted for example in italic style it doesnt paste the text. It seems like it doesnt even detect it as it just pastes something i copied earlier.

In this example i tried to copy something from GW2 Wiki. Here is the output.

wl-paste -l
text/html
text/_moz_htmlcontext
text/_moz_htmlinfo
text/plain;charset=utf-8
UTF8_STRING
COMPOUND_TEXT
TEXT
text/plain
STRING
text/plain;charset=utf-8
text/plain
text/x-moz-url-priv
SAVE_TARGETS

In the next example i copied something i wrote from discord.

wl-paste -l
SAVE_TARGETS
MULTIPLE
STRING
text/plain
text/plain;charset=utf-8
chromium/x-internal-source-rfh-token
chromium/x-source-url
text/plain
text/plain;charset=utf-8

It seems to get confused when trying to paste something that has "text/html" i guess? I tried to make a script to clean the text before pasting it but I wasnt able to get it working.

EDIT: So now it works with the wiki randomly. It seems like sometimes it works and sometimes it doesnt. Trying to paste into GW2 and it can take a couple of tries before it actually pastes what i want

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions