Plugins
Plugins are optional extras (although currently distributed with Xinha anyway) which provide enhanced functions to the Xinha editor.
See the NewbieGuide for instructions on loading a plugin.
If you are interested in writing a plugin, try the PluginTutorial and reading the source code of one of the simpler plugins.
The Most Common Plugins
- MootoolsFileManager
- !Insert/Upload/Delete Images and (Links To) Files (requires PHP)
- Linker
- Insert and Edit Links To Documents (requires PHP)
- Stylist
- Select CSS classes in a context-sensitive panel.
- ListOperations
- Adds tab-to-indent and shift-tab-to-outdent function when editing lists.
- TableOperations
- Add functions for inserting and editing tables.
- ContextMenu
- Add a right-click context menu which allows convenient access to other plugins (esp TableOperations to edit tables).
- CharacterMap
- Allow the user to insert special characters from a character map.
- SuperClean
- Provide various “html cleaning” functions.
- SmartReplace
- Replace non-directional quotes (“test”) with locale-sensitive directional quotes (“test”) amongst others.
- PreserveScripts
- Preserve Javascript and PHP in the editable content.
- PreserveSelection
- Preserve the selection between Source and WYSIWYG views (select text in WYSIWYG mode, switch to source, same text is selected)
- FancySelects
- Make the font etc. drop-downs “fancy” using jQuery.
- WebKitResize
- Improve resizing of Images in
WebKit
(Chrome, Safari, Edge) browsers, and Tables inWebKit
and Mozilla. - QuickSnippet
- Easily provide context-sensitive snippets of HTML that the user can insert from a drop-down list.
- UseStrongEm
- Improves handling for the italic and bold toolbar buttons.
All Currently Supported Plugins
- Abbreviation
- CharacterMap
- CharCounter
- ContextMenu
- CSSDropDowns
- CSSPicker
- DefinitionList
- DynamicCSS
- EditTag
- EncodeOutput
- Equation
- FancySelects
- FindReplace
- FormOperations
- Forms
- FullPage
- GenericPlugin
- GetHtml
- HorizontalRule
- HtmlEntities
- InsertAnchor
- InsertNote
- InsertPagebreak
- InsertSmiley
- InsertSnippet
- InsertSnippet2
- InsertWords
- LangMarks
- Linker
- ListOperations
- ListType
- MootoolsFileManager
- PasteText
- PreserveScripts
- PreserveSelection
- QuickTag
- QuickSnippet
- SaveOnBlur
- SaveSubmit
- SetId
- SmartReplace
- Stylist
- SuperClean
- TableOperations
- UnsavedChanges
- UseStrongEm
- WebKitResize
- WysiwygWrap
Unsupported (Deprecated) Plugins
These plugins are no longer supported officially and are regarded as deprecated, they may not work well, not work properly, have more potential for security issues, and may be superceeded by supported plugins above. Use at your discretion, new integrations of Xinha should not use these.