removeFormat won't remove span if lang attribute is present #5359
Labels
resolution:by-design
Described behavior is a part of feature design and is not expected to be changed.
type:bug
A bug.
removeFormat won't remove span tags if lang attribute is present. Indeed, dir attribute is added too.
Pressing the removeFormat button won't either remove the span tag or the lang and dir attributes.
Without the lang attribute all is working as expected (span is removed)
Here my relevant conf:
removeFormatTags = 'cite,code,del,dfn,font,ins,kbd,q,samp,span,strike,tt,var',
removeFormatAttributes = 'class,style,lang,width,height,align,hspace,valign,dir',
Other details
The text was updated successfully, but these errors were encountered: