Opened 5 years ago

Closed 5 years ago

#13068 closed Task (invalid)

Custom plugin using span

Reported by: rats Owned by:
Priority: Normal Milestone:
Component: UI : Dialogs Version:
Keywords: Cc:

Description

Since CKEditor do not support creation of a custom plugin using 'span' tag elements ,If we develope custom plugin using 'span' element then on-Show(double click) function doesnt work for that plugin and we are not able to see any setup properties for that element in dialogue, hence cannot edit any properties.

Can anybody please Suggest any alternative solution to this?

Change History (1)

comment:1 Changed 5 years ago by Jakub Ś

Keywords: span removed
Resolution: invalid
Status: newclosed
Version: 4.3.1
  1. I assume you have ACF configured for the plugin
  2. I'm not sure what the plugin does but if you insert empty span, which by the way has no visual representation, you can insert <span data-my-custom-attr="test">&nbsp;</span> span with &nbsp; inside
  3. If you are trying to have span that contains e.g. divs, paragraphs etc. then this is invalid HTML and you should use e.g. div instead.
Note: See TracTickets for help on using tickets.
© 2003 – 2019 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy