Opened 11 years ago
Last modified 11 years ago
#10824 confirmed Bug
Languages plugin - can't nest language markup — at Initial Version
Reported by: | Marek Lewandowski | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | General | Version: | |
Keywords: | Cc: |
Description
Issue is reproducable with Chrome/31.0.1627.0, Firefox 23.0, MSIE10
We're unable to nest multiple spans using languages plugin
- open any sample with CKEditor languages plugin enabled (i.e. samples/replacebyclass.html)
- Replace content with following HTML:
<p>This is sample code.</p>
- Select
sample
substring and apply French language (by clicking chinese icon at toolbar, and selecting proper lang). - Select
is sample code
substring and apply Spanish language.
Expected result:
Produced source code: <p>This <span dir="ltr" lang="es">is <span dir="ltr" lang="fr">sample</span> code</span>.</p>
Current result:
Paragraph with nested spans: <p>This <span dir="ltr" lang="es">is sample code</span>.</p>
additional info:
- Currently spans are created with CKEDITOR.style object being passed to CKEDITOR.editorapplyStyle()