[pve-devel] [PATCH manager 2/3] ui: tags: prevent pasting non plain-text content

Thomas Lamprecht t.lamprecht at proxmox.com
Tue Oct 24 12:07:10 CEST 2023


Am 24/10/2023 um 11:57 schrieb Dominik Csapak:
> On 10/24/23 11:53, Thomas Lamprecht wrote:
>> Am 19/10/2023 um 15:59 schrieb Dominik Csapak:
>>> sry disregard this patch only, that property value is not supported in firefox :(
>>>
>>
>> We could set it only to "plaintext-only" for non-firefox then though?
> 
> sure not a problem, i just generally try to avoid browser specific stuff
> 
> if there is a way to prevent pasting html in a sane way for all browsers
> i'd prefer that, but did not have the time to look into that..
> 

OK, let's make "no special cases for browsers" a rule that should have as
few as possible exceptions, that can only benefit users and devs reproducing
issues.

I subscribed to the enhancement request [0] at Mozilla's Bugzilla, where
they state that it's only blocked on the spec being to vague and lacking test
cases, so once it's done and released in an ESR we can switch to this
unconditionally

[0]: https://bugzilla.mozilla.org/show_bug.cgi?id=1291467#c22





More information about the pve-devel mailing list