Opened 15 years ago

Closed 12 years ago

#19 closed enhancement (duplicate)

Multiple plugin directories

Reported by: yermol Owned by: yermol
Priority: low Milestone: 0.95
Component: Xinha Core Version: unified_backend
Severity: normal Keywords:
Cc: mokhet@…


Loading plugins from multiple separate plugins directories would be very useful; possibly using an optional directory parameter on the loadPlugin method. (does javascript support that kind of thing?)

Change History (7)

comment:1 Changed 15 years ago by yermol

  • Priority changed from normal to low
  • Severity changed from normal to enhancement
  • Version set to 0.1

comment:2 Changed 15 years ago by mokhet

  • Cc mokhet@… added

i cant see why it would be usefull. There is a plugin structure, it can be discussed, but what can be the benefits to load a plugin from another directoy ?

comment:3 Changed 15 years ago by gogo

  • Owner changed from gogo to yermol
  • Version changed from 0.1 to yermo

Moving to yermo's version.

comment:4 Changed 15 years ago by gogo

  • Version changed from yermo to unified_backend

comment:5 Changed 14 years ago by guest

Hi there,
I would love to see a feature like "configurable plugin directories". Hence it could be possible to write custom plugins AND keep them separate from the official plugins.

E.g. in my project I need a special plugin to insert links (e.g, to select links from a sitemap, also my links have special URL parameter etc.). I simply could create a MyLink?-plugin in the Xinha plugins folder. Still, this would mix project specific code with general code. Therefore, updating the Xinha installation be difficult.

I would prefere to have a Xinha installation in folder A and my project stuff in folder B with the plugin folder: B/myplugin. Then use HTMLArea-Config Object to say something like:

var cfg = new HTMLArea.Config();
cfg.addPluginDir( "coolProject", "B/myplugin" );

var plugins = [
  "HtmlTidy", // official plugin
  "coolProject/MyPlugin", // plugin located in "B/plugin"

// add plugins and initialize editor

AFAIK this would effect the following functions/methods:


regards, gERD

gerd (at) php-tools (dot) net

comment:6 Changed 13 years ago by ray

  • Milestone set to 0.96

comment:7 Changed 12 years ago by ray

  • Milestone changed from 0.96 to 0.95
  • Resolution set to duplicate
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.