Changeset 464 for trunk/WysiwygPlugin/data/TWiki/WysiwygPlugin.txt
- Timestamp:
- 11/08/08 14:34:13 (4 years ago)
- File:
-
- 1 edited
-
trunk/WysiwygPlugin/data/TWiki/WysiwygPlugin.txt (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/WysiwygPlugin/data/TWiki/WysiwygPlugin.txt
r14 r464 95 95 ---+++ Other techniques 96 96 ---++++ Asynchronous saves 97 Editors can use =XmlHttpRequest= to perform saves, by POSTing to the TWiki =save= script with the =wysiwyg_edit= parameter set to =1=. This parameter tells the =beforeSaveHandler= in the !WysiwygPlugin to convert the content back to TML. See % TWIKIWEB%.TWikiScripts for details of the other parameters to the =save= script.97 Editors can use =XmlHttpRequest= to perform saves, by POSTing to the TWiki =save= script with the =wysiwyg_edit= parameter set to =1=. This parameter tells the =beforeSaveHandler= in the !WysiwygPlugin to convert the content back to TML. See %SYSTEMWEB%.TWikiScripts for details of the other parameters to the =save= script. 98 98 99 99 Once the save script has completed it responds with a redirect, either to an Oops page if the save failed, or to the appropriate post-save URL (usually a =view=). The editor must be ready to handle this redirect. … … 126 126 127 127 ---+++ Translator control 128 %INCLUDE{"% TWIKIWEB%.WysiwygPluginSettings"}%128 %INCLUDE{"%SYSTEMWEB%.WysiwygPluginSettings"}% 129 129 130 130 *Implementors note* if you are using your own before/after edit handlers, you can call =TWiki::Plugins::WysiwygPlugin::isWysiwygEditable()= to check these controls. … … 192 192 | Appraisal: | http://twiki.org/cgi-bin/view/Plugins/%TOPIC%Appraisal | 193 193 194 __Related Topics:__ % TWIKIWEB%.TWikiPreferences, %TWIKIWEB%.TWikiPlugins194 __Related Topics:__ %SYSTEMWEB%.TWikiPreferences, %SYSTEMWEB%.TWikiPlugins 195 195 196 196 <!-- Do _not_ attempt to edit this topic; it is auto-generated. Please add comments/questions/remarks to the Dev topic instead. -->
Note: See TracChangeset
for help on using the changeset viewer.
