• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Problem with ice:inputRichText configuration

 
Petr Dusek
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi, people.
I would like to change a configuration of ice:inputRichText component:

<ice:inputRichText toolbar="MyToolbar" customConfigPath="js/config.js"/>

My config.js:
CKEDITOR.editorConfig = function( config )
{
config.toolbar = 'MyToolbar';
config.toolbar_MyToolbar = [['Bold','Italic', 'Underline'], ['Save']];
};

The result:
The component is not visibled and the log says WARNING: JSF1064:
Unable to find or serve resource, ckeditor/skins/v2/skin.js.

Do you know how to solve this? Thanks a lot!
 
Tim Holloway
Saloon Keeper
Pie
Posts: 17989
47
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Have you tried this:
 
Petr Dusek
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes and I get the same warning and no component is visibled. And even if I then return to this:
<ice:inputRichText/>

it will not work at all! Could you show me some example - how to extend inputRichText by JavaScript?
 
Petr Dusek
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think, if I type anything (no matter what) to the attribute customConfigPath, it gets the same issue. Maybe a problem with dependencies?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic