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

Dominik Csapak d.csapak at proxmox.com
Tue Oct 24 12:51:39 CEST 2023


On 10/24/23 12:07, Thomas Lamprecht wrote:
> 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.

that makes sense, i'll add a section to the javascript style guide, is that
fine with you?

> 
> 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

i'll subscribe too, thanks for researching that





More information about the pve-devel mailing list