Community
    • Login

    Pasting HTML format text from clipboard

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    3 Posts 3 Posters 8.0k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Toni GrahamT
      Toni Graham
      last edited by

      Is there a plugin that will enable pasting into Notepad++ “HTML formatted text” from the clipboard.
      currently paste is just plain text. (& paste special see below)

      Example:

      1. I have a webpage in firefox, I copy a section of the page text (its now in the x32 clipboard)
      2. Paste into Notepad++ is just plain text loses formatting (font size, bold etc…)

      If I paste into: example word the formatting is retained.

      I tried… “Paste Special”, “Paste HTML Content” but it paste’s the HTML code & not formatted text I copied.

      Thanks

      Claudia FrankC 1 Reply Last reply Reply Quote 0
      • Claudia FrankC
        Claudia Frank @Toni Graham
        last edited by

        @Toni-Graham

        I’m not aware of a plugin which is able to do this but this
        doesn’t mean there isn’t one available.
        The underlying scintilla control is responsible for doing, what it called, styling.
        In order to make this work, one has to program a so called lexer.
        This lexer is than responsible to set all the attributes, like font name, size, boldness …

        What confuses me is this sentence you wrote

        If I paste into: example word the formatting is retained.

        What does that mean?

        Cheers
        Claudia

        1 Reply Last reply Reply Quote 0
        • Parpaluck209P
          Parpaluck209
          last edited by

          word is a reference to Microsoft Word. Notepad++ is not a word processor!

          There is, however, an old HTML editor of the 1990s: Arachnophilia. I still use it, as it adds tags for me (e.g. select text, then press Ctrl+I to emphasize). I copy-and-paste from Word, for example, to Arachnophilia: the formatting is preserved. Then, when I see bold text, I simply select the text in Arachnophilia and press Ctrl+B, etc.

          Maybe Claudia can write such a useful plug-in.
          “Plug it in, plug it in!” is a popular ad for air fresheners on American TV.

          Peace be with you and this community!

          1 Reply Last reply Reply Quote 0
          • First post
            Last post
          The Community of users of the Notepad++ text editor.
          Powered by NodeBB | Contributors