Ticket #115 (closed New Feature: invalid)
Use PluginsPath for each plugin
| Reported by: | alfonsoml | Owned by: | alfonsoml |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | General | Version: | |
| Keywords: | Cc: |
Description
Now the PluginsPath configuration setting is used only once at the end of the parsing, so if you want to load plugins from different sources you have to be sure that each one has specifed the path at load time:
FCKConfig.PluginsPath = FCKConfig.BasePath + 'plugins/' ; FCKConfig.Plugins.Add( 'autogrow' ) ; // Non standard plugins FCKConfig.Plugins.Add( 'rtSpellCheck', '', '/customPlugins/' ) ;
but it would seem more logical to be able to change the PluginsPath and so the next plugins will load from that path:
FCKConfig.PluginsPath = FCKConfig.BasePath + 'plugins/' ; FCKConfig.Plugins.Add( 'autogrow' ) ; // Non standard plugins FCKConfig.PluginsPath = '/customPlugins/' ; FCKConfig.Plugins.Add( 'rtSpellCheck' ) ;
I've checked the code in [149] so it can be discussed and reviewed before it gets added to the trunk.
Change History
Note: See
TracTickets for help on using
tickets.