Closed (fixed)
Project:
Tiny Tiny MCE
Version:
6.x-1.5
Component:
User interface
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
23 Jun 2008 at 10:35 UTC
Updated:
23 Jun 2008 at 11:14 UTC
I have installed this module and it's working fine, but I have a question for now:
When I chose "Create content" (page, blog, etc), the RichText editor is turned on by default and I can turn on/off by clicking on the "rich text editor" link on the bottom. That's fine.
But as soon as I submit a comment (reply, etc) it's turned on by default. I still can turn it on by clicking the "rich text editor" link, but it's not turned on by default. Do I have to configure something or it's a bug?
Thank you in advanced.
Comments
Comment #1
fleetcommand commentedErm, I meant "it's turned off by default" when adding a comment :) So is it possible to make it turned on by default for comments? :)
Comment #2
fleetcommand commentedJust had to add edit-comment to elements. Sorry for disturbing you :)
Comment #3
Steve Lockwood commentedHi - no worries. You found the answer while I was typing the reply! Here's a detailed reply in case it's useful to anyone else - Steve
By default the textarea element named "edit-body" is turned on automatically. This is controlled in the settings screen admin/settings/tinytinymce where we specify the init scripts for simple mode and advanced mode. In the sections "TinyMCE init script for simple mode:" and "TinyMCE init script for advanced mode:" you will see a line that looks like this:
To make the comment automatically switched on to TinyMCE, change this line to:
You can add the IDs of any other textareas that you want switched on also.