File containing tinyMCE.init JavaScript call?

File containing tinyMCE.init JavaScript call?

by Michael Otto -
Number of replies: 1

Hi Everyone

I am fairly new to TinyMCE and moodle - I need some help in finding the config.php which contains the tinyMCE.init JavaScript call. The TinyMCE forums have good information on the files needed to modify TinyMCE so that I may replace the /p (paragraph) tag with the /br tag. My users are really not happy with the natural double spacing that comes from the use of the /p tag when editing, and while they are using the shift+enter option to force the /br tag, I find that to be a duct tape solution.

The official Tiny MCE site has good detail on modifying options for forced root block:

http://www.tinymce.com/wiki.php/Configuration:forced_root_block

I apologize if this is a simple question, or if there is a previous post addressing this issue. 

Your help is most appreciated.

 

 

 

Average of ratings: -
In reply to Michael Otto

Re: File containing tinyMCE.init JavaScript call?

by Mauno Korpelainen -

You need to edit file lib/editor/tinymce/lib.php - add for example after line

            'remove_script_host' => false,

a new line

            'forced_root_block' => false,