mac72 wrote:However, I'm still a little disappointed that DIV containers aren't yet there by default. It seems like that would have been one of the first things on the feature list.
Actually this isn't so easy, especially in MSIE. I made some tests while I was working on 0.1 and IIRC the DIVs were messing up the contentEditable.
Anyway, please feel free to submit a feature request on the Trac.
mac72 wrote:I've managed to define a DIV container and it works to insert a div in the code, but the entry in the container pulldown has brackets around the title (like so: {Div})
I see. You need to add the translation in the language arrays.
There's currently no option to do this easily.
I suggest to use the preInit option and to add the value like this:
- Code: Select all
preInit: function(wym) {
WYM_STRINGS_EN = $j.extend({Div: 'Your translation here'}, WYM_STRINGS_EN);
WYM_STRINGS['en'] = WYM_STRINGS_EN;
}
Note: this is for English - replace EN by the language you use.
and even though I've added new entries to the CSS, the DIV containers don't show up like other containers (white boxes).
Please post the code so I can tell you what's wrong.