Tags:
create new tag
, view all tags

SmartEditPluginDev Discussion: Page for developer collaboration, enhancement requests, patches and improved versions on SmartEditPlugin contributed by the TWikiCommunity.
• Please let us know what you think of this extension.
• For support, check the existing questions, or ask a new support question in the Support web!
• Please report bugs below

Feedback on SmartEditPlugin

-- 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
Edit | Attach | Watch | Print version | History: r5 < r4 < r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r5 - 2007-03-30 - MikkoLaakso
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2017 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.