Language plugin requires dir attribute to be set on a <span> element #5085
Labels
plugin:language
The plugin which probably causes the issue.
status:confirmed
An issue confirmed by the development team.
type:bug
A bug.
Milestone
Type of report
Bug
Provide detailed reproduction steps (if any)
CKEditor requires the
dir
attribute to be present when setting thelang
attribute on a<span>
. If it is not present it will remove the<span>
element.To reproduce copy the following in source mode:
A) With both the
lang
anddir
attributes => OKB) With only the
lang
attribute => NOT OKIf the
dir
attribute is not present CKEditor will remove the<span>
tag.Will be transformed in:
Expected result
Setting the
lang
without specifying thedir
attribute (as shown in the above test B), should be accepted as it is valid HTML code.Other details
The text was updated successfully, but these errors were encountered: