Tags:
create new tag
view all tags

Question

Hi,

how can I add a button next to my Edit button that opens TinyMCEPlugin ?

It would be ok if it just replaces the Wysiwyg button.

I still want to use the "normal Edit" button.

@ CrawfordCurrie: Thx for the great Plugin

Environment

TWiki version: TWikiRelease04x01x02
TWiki plugins: TinyMCEPlugin
Server OS:  
Web server:  
Perl version:  
Client OS:  
Web Browser:  
Categories: Plugins

-- MichaelGrimm - 17 Aug 2007

Answer

ALERT! If you answer a question - or someone answered one of your questions - please remember to edit the page and set the status to answered. The status selector is below the edit box.

I don't know, I slave all day at a hot computer, working my fingers to the bone, giving myself piles, RSI and eyestrain, just so you can use TinyMCE instead of the standard textarea, and what do I get? wink

You can disable tiny using the TINYMCEPLUGIN_DISABLE variable. That's the only way at the moment; I am still working out all the use modes.

-- CrawfordCurrie - 22 Aug 2007

As I also wrote in ReplaceKupuWithTinyMCE even though TinyMCE is great there are still many things you will rather do in plain edit when you make twiki apps, copy topic contents from other topics, etc etc.

We still need the old Edit side by side with Wysiwyg so normal users can choose.

-- KennethLavrsen - 25 Aug 2007

I would also like to have a 'normal' edit button as an option to TinyMCE. I don't see how to use the variable to do this. It seems you'd need to set the variable at the topic level for the 'NormalEdit' topic, but editing is not really a topic (is it?) but a perl script. Does anyone know how to set variables at the perl level? I could copy the existing edit script and add the one-liner to the top to disable TinyMCE.

-- BuckGolemon - 29 Aug 2007

You can also disable tinymce (stop it coming up ever) by adding ?nowysiwyg=1 to the URL used to invoked the editor.

-- CrawfordCurrie - 31 Aug 2007

I tried that and it doesn't work. Dont know why. Here's the URL's I've tried:

http://mydomain.com/twiki/bin/edit/MyWeb/MyTopic?t=1189207809?nowysiwyg=1 http://mydomain.com/twiki/bin/edit/MyWeb/MyTopic?t=1189109222&nowysiwyg=1 http://mydomain.com/twiki/bin/edit/MyWeb/MyTopic?nowysiwyg=1 http://mydomain.com/twiki/bin/edit?nowysiwyg=1 http://mydomain.com/twiki/bin/edit?TINYMCEPLUGIN_DISABLE=1 http://mydomain.com/twiki/bin/edit/?tinymceplugin_disable=1 http://mydomain.com/twiki/bin/edit?tinymceplugin_disable=1

-- BuckGolemon - 07 Sep 2007

fixed this by upgrading to the newest version. Apparently this has changed within the last week.

-- BuckGolemon - 07 Sep 2007

I'm having similar troubles. I have successfully installed the plugin and it serves as the default editor in our site. As I prefer working in the raw text mode, I have added the following to my user page, but in some cases TinyMCE is still invoked:

  • Set TINYMCEPLUGIN_DISABLE

As the above failed I also added the following to my user page, to no avail:

  • Set WYSIWYG_EXCLUDE html, variables, calls, pre, comments

Adding ?nowysiwyg=1 to the url does not seem to help either. TinyMCE seems tiny bit too eager to serve -:)

As last resort I regrettably copy some mass of text to the topic which TinyMCE can't handle, and once I get my raw editor back I can revert to my original text.

-- EyalTeutsch - 02 Oct 2007

Sorry, closing this after more than 30 days of inactivity. Please feel free to re-open if needed.

-- PeterThoeny - 02 Dec 2007

Change status to:
Edit | Attach | Watch | Print version | History: r9 < r8 < r7 < r6 < r5 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r9 - 2007-12-02 - 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-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.