I want to use a data-attribute in a span-Tag. The CKEditor removes this attribute.
If I add it in a p-Tag it will not removed and this is OK.
processing:
allowAttributes: [data-count]
is added in the YAML-file.
I've tried this and other combinations, nothing works.
config
extraAllowedContent: '*(*)[data-*]'
What do I have to do, to keep the data-attribute in a span-Tag?