Custom Query (1721 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (1 - 3 of 1721)

1 2 3 4 5 6 7 8 9 10 11
Ticket Resolution Summary Owner Reporter
#746 inactive No way to customize location of language files and plugins directory gogo 2vanger@…
Description

There is no way to customize location of language files: HTMLArea._loadlang = function(context) ... url = _editor_url+"lang/"+_editor_lang+".js";

May be it would be better to use variable _editor_lang_path to specify location of language files("lang/" by default)

Same thing with path to "plugins" directory. I'm attaching diff file to show what I mean.

#747 inactive No way to customize location of default buttons. gogo 2vanger@…
Description

No way to customize location of default buttons. They are created during new HTMLArea.Config(); and it uses this.imgURL, which is not redefined by user yet. I think you chould create custom function to load them after initing editor:

initialize tooltips from the I18N module and generate correct image path for ( var i in this.btnList ) {

...

}

This code should be executed inside of HTMLArea constructor - when config.imgURL is defined. If you want - I could create this functionality and send diff to you.

#748 inactive Configurating plugins gogo 2vanger@…
Description

Create an array in HTMLArea.Config: this.pluginsConfig = [];

after that you could use it in this way: var xinha_plugins = mySearchEngine?; var cfg = new HTMLArea.Config(); cfg.pluginsConfigmySearchEngine? = {

searchEngineURL : "http://www.google.com/search?q=", ...

} Also may be it would be useful to create some helper functions: HTMLArea.Config.prototype.getPluginConfig = function(plugin_name){

if(typeof(this.pluginsConfig) != 'undefined'){

return this.pluginsConfig[plugin_name];

}

return null;

}

Usage: var mySearchEngine = function(editor){

... this.config = editor.config.getPluginConfig('mySearchEngine') var path = this.config.searchEngineURL

}

If you want - I could create this functionality and send diff to you.

1 2 3 4 5 6 7 8 9 10 11
Note: See TracQuery for help on using queries.