The link plugin might not be what you need (at least to start), instead look at defining a Style with your tag and apply it to the content (look at basicStyles, font format...)
I'm not too used to work with the code in the styles plugin, you have to keep in mind that the interface is meant to be used by the average user, and if removing a style in one node also removes its siblings usually it will mean a problem.
I gave up: I'm using jQuery for processing the code... CKEditor provide some functions to work with DOM, but I've got some problems (splitting wasn't enough controllable, merging of siblings didn't seems to work, and some other minor issues). Now it's working pretty well, as the html parser is not much intrusive.
I'll write something about it and, if I've time, I'll try to do the same thing with ckeditor DOM's functions. Thanks for the help so far
EDIT: Anyway CKEditor bookmarking is useful, as it simplify working with DOM, as it puts a tag where a range usually works with offsets.
Re: Tagging the selected text
Re: Tagging the selected text
Re: Tagging the selected text
http://dev.ckeditor.com/changeset/5009
Re: Tagging the selected text
Re: Tagging the selected text
Re: Tagging the selected text
Now it's working pretty well, as the html parser is not much intrusive.
I'll write something about it and, if I've time, I'll try to do the same thing with ckeditor DOM's functions.
Thanks for the help so far
EDIT:
Anyway CKEditor bookmarking is useful, as it simplify working with DOM, as it puts a tag where a range usually works with offsets.
~Aki