--
ThomasWeigert - 13 Aug 2006
Thanks Thomas for sharing this Plugin! Possibly merge with the
SmartEditAddOn?
--
PeterThoeny - 16 Aug 2006
That was the idea, see
SmartEditAddOnDev... unless we want to invoke the
AddOn via a skin rather than a plugin...
--
ThomasWeigert - 16 Aug 2006
The top tool bar gets added above the 'Show Help' twisty in 4.1.2. Seems something got changed in the latest
PatternSkin. To fix it I changed this line:
***************
*** 141,149 ****
%TMPL:DEF{"content"}%%TMPL:P{"pagetitle"}%
- %TMPL:P{"formstart"}%%TMPL:P{"formattop"}%
%TMPL:P{"toolbar"}%
%TMPL:P{"pagehelp"}%
%TMPL:P{"textarea"}%
%TMPL:P{"sig_textareabuttons"}%
%TMPL:P{"formatbottom"}%%TMPL:P{"topicaction"}%
--- 141,149 ----
%TMPL:DEF{"content"}%%TMPL:P{"pagetitle"}%
%TMPL:P{"toolbar"}%
%TMPL:P{"pagehelp"}%
+ %TMPL:P{"formstart"}%%TMPL:P{"formattop"}%
%TMPL:P{"textarea"}%
%TMPL:P{"sig_textareabuttons"}%
%TMPL:P{"formatbottom"}%%TMPL:P{"topicaction"}%
--
AndrewRJones - 28 Mar 2007
This plugin is broken (TWiki 4.0.5.) because it fails to insert the required <=div id="smartEditorTopToolbarID"></div=> tags, and the required javascript to the end of the page. I would fix it but I´m not sure how...
The plugin has lines in
beforeCommonTagsHandler as follows:
$_[0] =~ s/<form name="main"/<div id="smartEditorTopToolbarID"><\/div><form name="main"/o;
$_[0] .= $theScript;
The tag inserting is logically correct, it exchanges the html-field to these other fields. Is the syntax otherwise incorrect?
--
MikkoLaakso - 30 Mar 2007