Hello. What I'm trying to do is to make a ´simple´ replacement of the core functions of the editor. Or perhaps copy their behavior in a plugin, as they do their job very well and I don't want to reinvent the wheel here.
Exemple: "B" button currently do <strong> selection </strong>, I want it to do <b> selection </b>
Exemple: "I" button currently do <em> selection </strong>, I want it to do <v> selection </v>
The other buttons I won't even use...
I want this because our website currently uses this markup in a different behavior than the common html.
Any help would be appreciated, Thank you.
There are configuration
There are configuration options for the core styles - for example coreStyles_bold and coreStyles_italic. Note hovewer that CKEditor works in a browser, so it works best with a standard HTML. In order to use some custom tags you need to modify the CKEDITOR.dtd object, but it's not guaranteed that it will fully work (because of both - browsers and editor algorithms).
You can also use CKEditor filters to modify tag names on input and output, although I don't know any complete tutorial how to do that. You should be able to find many things across the web though.
Piotrek (Reinmar) Koszuliński
CKEditor JavaScript Developer
--
CKSource - http://cksource.com
--
Follow CKEditor on: Twitter | Facebook | Google+
Thank you, didn't tryied yet
Thank you, didn't tryied yet but it seems that coreStyles will really help to solve this out.