steve
steve

Reputation: 41

IBM WCM textboxio modify toolbar

I am using the Textboxio editor within WCM 8.5 installed on CentOS 6.5

The official docs are skimpy http://docs.ephox.com/display/tbio/Changing+the+Toolbar

First question: I have successfully added new styles by editing tbio_config.jsp but now I need to add new options for ordered and unordered lists. I think I have to modify

ui: {locale: locale, toolbar: {items : items }}

But how?

Second question: having successfully added new styles to the back-end content editor. (Editing content from the libraries), I configured Textboxio as my inline editor. But that does not show my new styles. It must be using a different config, but I can't find where it is.

Upvotes: 0

Views: 94

Answers (1)

Spyder
Spyder

Reputation: 1902

Yes, modifying the toolbar means setting the items property. There is an example of this (you don't need to set locale) towards the bottom of the article you linked; the section Defining the toolbar configuration. It contains the default editor config and links to the list of toolbar commands.

The inline editor may use a different configuration, I'm not sure. You'll have to ask IBM about that. However the inline editor ignores content CSS set in the configuration (a warning about this will appear in the console if it is set). By definition this editor mode uses the content styles already defined for the page; you can still adjust the style menu through the configuration but not the content styles.

Upvotes: 0

Related Questions