Hi,
i'm new to ckeditor and i'm trying to use custom tags with it. Most of my own tags just working fine using:
CKEDITOR.replace("templateEditor",
{
[...]
allowedContent: true
});
and
CKEDITOR.on("instanceReady", function(event)
{
CKEDITOR.dtd.placeholder = { name : 1 };
CKEDITOR.dtd.$empty.placeholder = 1;
CKEDITOR.dtd.body.placeholder = 1;
CKEDITOR.dtd.$inline.placeholder = 1;
[...]
CKEDITOR.dtd.image = { id : 1 };
CKEDITOR.dtd.$empty.image = 1;
CKEDITOR.dtd.body.image = 1;
CKEDITOR.dtd.$inline.image = 1;
});
For my own tag 'placeholder' and other this is working fine but unfortunately one of my own custom tags need to be 'image'. This is not an Html 4/5 standard tag but its replaced by CKEditor with the 'img' tag by default.
Since CKEditor is highly adjustable i'm sure there is a way to disable the auto replacement of 'image' tag with the html tag 'img' but i dont know how!
Somebody know how to do this?
