Changes between Version 2 and Version 3 of Documentation/Plugins/ContextMenu


Ignore:
Timestamp:
03/14/18 08:49:18 (6 months ago)
Author:
gogo
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Documentation/Plugins/ContextMenu

    v2 v3  
    55The ContextMenu plugin, developed by [http://dynarch.com/ Mihai Bazon] with sponsorshop by the American Bible Society, provides a right-click context menu for the editor. 
    66 
    7 == Slight Modifications == 
     7== Configuration == 
    88 
    9 This plugin has been slightly modified for use with Xinha, currently the Xinha version works better with multiple editors than the raw version.  Unfortunatly the menu images for the Xinha version are not working correctly (ticket:12). 
     9**See the [wiki:NewbieGuide#ProvideSomeConfiguration NewbieGuide] for how to set configuration values in general, the below configuration options are available for this plugin.** 
    1010 
     11No configuration is necessary for general purposes.  For advanced users there are a couple of options. 
     12 
     13  `xinha_config.ContextMenu.disableMozillaSpellCheck = true;`:: 
     14    This option will disable the native browser spellchecking in at least Mozilla browsers.  This option may no longer be very useful as spell checking behaviour has been improved.  False by default. 
     15 
     16  `xinha_config.ContextMenu.customHooks = { }`:: 
     17     This option allows you to, for specific tag names, set custom functions to insert into the context menu.  For example 
     18     {{{ 
     19       xinha_config.ContextMenu.customHooks = { 'a': [ ['Label', function() { alert('Action'); }, 'Tooltip', '/icon.jpg' ] ] } 
     20     }}}