Can't use XML editor to edit some attributes
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Inkscape |
New
|
Undecided
|
Unassigned |
Bug Description
when using the XML editor to change node attributes I can't add new or custom parts to the style attribute. for example, for a text node that has style attribute:
"font-style:
I can change the values of the different style parts, like "font-size:100px" to "font-size:50px", but i can't add a style part that isn't already there like "user-select:none".
If i try to add ";user-select:none" to the end of the style value string and then click the "set" button it deletes my user-select part and reverts to the pre-edit string.
If i use an external text editor and add "user-select:none" it shows up correctly in Inkscape but if i edit the style again in Inkscape with the XML editor it deletes my non-standard "user-select:none" part.
I found using a document level <style> element to be a better solution than working with individual element inline styles for this particular higher level application, but in general i think there should be an option for Inkscape to leave custom/non-standard attributes/