/ Output elements in HTML style
tinyMCE.init({
...
formats : {
alignleft : {selector : 'p,h1,h2,h3,h4,h5,h6,td,th,div,ul,ol,li,table,img', classes : 'left'},
}
});
We want this because our designer wants to style on classes in the editor and not on inline styles.
I changed the code to use the customconfig from tinymceconfig.config and it loads string values, but is it possible to set the formats through the custom config?
I tried CDATA but its an object in tinymce init. Does anyone have a idea how to fix it or must i change de editor code to use formats?
TinyMCE formats using config
in tiny you can set the formats as following:
We want this because our designer wants to style on classes in the editor and not on inline styles.
I changed the code to use the customconfig from tinymceconfig.config and it loads string values, but is it possible to set the formats through the custom config?
I tried CDATA but its an object in tinymce init. Does anyone have a idea how to fix it or must i change de editor code to use formats?
Johan
is working on a reply...