https://bugs.kde.org/show_bug.cgi?id=474086

            Bug ID: 474086
           Summary: Add a way to force plain text paste
    Classification: Applications
           Product: okteta
           Version: unspecified
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: kosse...@kde.org
          Reporter: merry.pen9...@fastmail.com
  Target Milestone: ---

N.b. this was created per the developer's request at
https://invent.kde.org/utilities/okteta/-/merge_requests/19

I have used Okteta to, for instance, write little synthetic HTTP requests to
test a program. For headers, it can be convenient to copy and paste them from
references on the Web, but when I do this in Okteta it includes the HTML
formatting from the page. For instance if I copy (what appears to my human eyes
as) "Accept-Encoding: deflate, gzip;q=1.0, *;q=0.5" from
https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Accept-Encoding , and
paste it into Okteta, I instead get pasted in Okteta:

<meta http-equiv="content-type" content="text/html; charset=utf-8"><pre
class="brush: http notranslate"
data-signature="F3kb6sFqFVY+FfwSVKQyyDwYdjRNT74vno0W0W7N5NE="><code><span
class="token header"><span class="token header-name
keyword">Accept-Encoding</span><span class="token punctuation">:</span> <span
class="token header-value">deflate, gzip;q=1.0,
*;q=0.5</span></span></code></pre>

which necessitates the use of a text editor as an intermediary.

I don't have much of a preference for how this would be handled to bypass this
extra step, and to allow explicit selection of formats. Either a mandatory
"paste as" (like, I believe, Libreoffice has) dialog upon ctrl-v, or
alternatives in the edit menu, or something else would work for me.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to