editing1Add my vote for this tag create new tag
, view all tags

MarkupEditorContribDev Discussion: Page for developer collaboration, enhancement requests, patches and improved versions on MarkupEditorContrib 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 MarkupEditorContrib

Thank you very much for sharing this extension with the TWikiCommunity smile

-- PeterThoeny - 01 Mar 2006

This is very nice indeed! Great for bulleted lists - a new bullet gets created automatically with line return. It seems easy to add other buttons that are in the WackoWiki demo (red text, strike, ...). But what about a pull-down list of common icons and/or plugins controls?

-- JohnFitzpatrick - 07 Mar 2006

Thanks John. And additions are very easy to add. I just need two string that go before and after the cursor and an icon. I actually removed the red text and strike, because I did not know that TWiki had markup for them or have seen them around a lot. But I will put it back in for the next release. As for the icons, you mean just the ones from TWikiDocGraphics or SmiliesPlugin? (btw. What are plugin controls?)

Any other suggestions? Any bugs? wink

-- ChristopherOezbek - 08 Mar 2006

Super cool plugin. Where exactly in the edit.pattern.tmpl does the %TMPL:DEF{"bodystart"}% code? It seems wherever I put it the twisty formatting help disappears.

  • here's an example:
    showing possible bug

-- RyanKnoll - 08 Mar 2006

Hi Ryan, have a look at MarkupEditorContrib#Installation_Instructions again. I changed the instructions for what needs to be modified in the edit.pattern.tmpl. I guess it must have been an issue with the onload-handlers of the twisty getting into a fight with the WackoEdit onload-handler. I changed it now to use the method suggested at http://simon.incutio.com/archive/2004/05/26/addLoadEvent which is already part of the TWiki distribution. Seems to work in IE, Opera and Firefox.

-- ChristopherOezbek - 09 Mar 2006

Nice job. That fixed it, thanks Chris.

Here's an idea: For creating an internal topic links, it be supercool to add a javascript popup window like the kupu editor does that presents you with way to select the topic to link to:

  • popup example from kupu:
    popup example from kupu

It could probably be done by calling the relevant kupu popup, or just loading a simple HTML page in a javascript popup (Popup code Example 1, Example 2).

  • Or even add the link label as option in the dialog:
    Add link
    Link text: [______________]
    Link to: [Web v] [Topic v]
    -- ArthurClemens - 03 Apr 2006

-- RyanKnoll - 09 Mar 2006

uh where is the file: pub/TWiki/TWikiJavascripts/twiki_edit.js?

The installation guide says to include this file, but its not in the tarball.

-- EricHanson - 30 Mar 2006

Hi Eric, the twiki_edit.js is part of the TWiki-distribution. It is just listed in the installation guide, because the template definition is overriding settings from a parent template.

Hope you get it working.

-- ChristopherOezbek - 03 Apr 2006

Any chance to add this to SVN?

-- ArthurClemens - 03 Apr 2006

I would love to, but I am kind of short on time at the moment. wink Would I have to apply for a SVN account?

-- ChristopherOezbek - 04 Apr 2006

Yes. See ReadmeFirst and PluginsInSubversion.

-- PeterThoeny - 06 Apr 2006

Changed the plugin install procedure to better reflect where to edit the edit.pattern.tmpl in Twiki ver 4.02.

-- BarryAdler - 17 Apr 2006

HI Christopher, thanks for the info. I know its off topic but I can't seem to figure out which template my twiki setup is using (I did not do the install). There are several (edit.tmpl, etc.) Apart from changing all of them, how do I find out which template I am using?

Thanks for any help.

-- EricHanson - 27 Apr 2006

Hi Eric, a plain vanilla twiki uses the pattern-skin. You thus edit the edit.pattern.tmpl.

-- ChristopherOezbek - 15 May 2006

Interestingly, about half the casual users prefer Classic edit mode + MarkupEditorContrib over the WYSIWYG Plugin. Thanks for this contrib!

I would love to be able to add this functionality to CommentPlugin text entry fields, so users of TWikiApplications don't have to remember the TML tags. Any chance of such a plugin in the future?

-- JosMaccabiani - 24 May 2006

Oh, yes, and shouldn't 'report bugs' be a mailto: link to the %WIKIWEBMASTER%? The he/she can act as a filter to sort out what really is a bug (and should be reported to this Dev topic) and what is actually PEBKAC

-- JosMaccabiani - 24 May 2006

It's a great tool, thanks a lot for this. Anyway, has anybody tested it with firefox yet?

When I edit long texts, the position of the text within the edit form switches to the beginning of the text. That means I have to scroll down again each time I have used one of the markup bottoms...

-- AlexRaabe - 29 Jun 2006

The MarkupEditorContrib plugin doesn't work on form fields. Any plans to make it work on form fields?

-- AlokNarula - 12 Jul 2006

This is a great plugin, I am loving it.

However, its not playing nice with the SectionalEditPlugin, which I know you can't control, but I was wondering if anyone else was having any luck integrating the two? I tried applying the fix mentioned in Bug 3995, but when I view the source, it isn't that the textarea is being incorrectly styled, but that there isn't any text area. In fact, none of the 'editsection' text is there at all.

Thanks for any info.

-- EricHanson - 22 Jun 2007

NatEditContrib is a more recent editor toolbar contribution.

-- PeterThoeny - 14 Jul 2007

Topic attachments
I Attachment History Action Size Date Who Comment
PNGpng auto-topiclink.png r1 manage 4.7 K 2006-03-09 - 11:47 RyanKnoll popup example from kupu
PNGpng no-twisty.png r1 manage 6.4 K 2006-03-08 - 17:13 RyanKnoll showing missing formatting help twisty
Edit | Attach | Watch | Print version | History: r20 < r19 < r18 < r17 < r16 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r20 - 2007-07-14 - PeterThoeny
  • 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-2018 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.