Opened 8 years ago

Last modified 7 years ago

#14717 confirmed Bug

Widget tag name with colon

Reported by: incur Owned by:
Priority: Normal Milestone:
Component: UI : Widgets Version: 4.0
Keywords: Cc:


Steps to reproduce

  1. Add widget with tag name 'cnn:news' widget template is '<cnn:news>Some news</cnn:news>'
  1. In source mode ckeditor add next html:

<h1>111</h1> <cnn:news>Some news</cnn:news>

<h1>111</h1> <cnn:news>Some news</cnn:news>

<h1>111</h1> <cnn:news>Some news</cnn:news>

  1. Push up button "source" and push down again
  2. And we see:

<h1>111</h1> <cnn:news>Some news</cnn:news>


<h1>111</h1> <cnn:news>Some news</cnn:news>

  1. There were only two widget tags

Change History (3)

comment:1 Changed 7 years ago by Jakub Ś

CKEditor doesn't support custom elements by default. In order to make them work dtd would need to be modified (source code for dtd) and new editor would need to be built. Please see:

Direct Source Code modification is required for block-level tags. For inline tags dtd can be modified before first editor initialization. Please see #14418 for code example.

This issue is about making DTD work with namespaces like cnn:.

Version 0, edited 7 years ago by Jakub Ś (next)

comment:2 Changed 7 years ago by Jakub Ś

Status: newconfirmed

comment:3 Changed 7 years ago by Jakub Ś

Related issues: #11562, #10340

Note: See TracTickets for help on using tickets.
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy