Quote from: ganeshXL at Jun 16, 2011, 02:13 PM
Yeah, what a pain in the neck, isn’t it? One of my pet peeves... if tinyMCE was an animal, it would be a mule 
fwiw, in my standard Evo config (plugin parameter) I have these extra values:
forced_root_block:false,
forced_root_block:0,
force_br_newlines : true,
force_p_newlines : false,
Try to use 0 instead of false, and try to add the
part too. I don’t know if they have to be used alongside each other, but it’s worth a shot...
Great I’ll try that!
Just did a complete search in all files in the entire TinyMCE folder containing force_root_block.
In the Revo plugin, the force_p_newlines is already an existing value, let me try the rest too
Edit:
Nope, doesn’t work, when I add the false as a zero, it just puts the two values together.
Even tried this in the plugin code (last sentence):
<?php
/**
* TinyMCE RichText Editor Plugin
*
* Events: OnRichTextEditorInit, OnRichTextEditorRegister,
* OnBeforeManagerPageInit, OnRichTextBrowserInit
*
* @author Jeff Whitfield <[email protected]>
* @author Shaun McCormick <[email protected]>
*
* @package tinymce
* @subpackage build
*/
if ($modx->event->name == 'OnRichTextEditorRegister') {
$modx->event->output('TinyMCE');
return;
}
require_once $modx->getOption('tiny.core_path',null,$modx->getOption('core_path').'components/tinymce/').'tinymce.class.php';
$tiny = new TinyMCE($modx,$scriptProperties);
$useEditor = $modx->getOption('use_editor',null,false);
$whichEditor = $modx->getOption('which_editor',null,'');
/* Handle event */
switch ($modx->event->name) {
case 'OnRichTextEditorInit':
if ($useEditor && $whichEditor == 'TinyMCE') {
unset($scriptProperties['chunk']);
if (isset($forfrontend) || $modx->context->get('key') != 'mgr') {
$def = $modx->getOption('cultureKey',null,$modx->getOption('manager_language',null,'en'));
$tiny->properties['language'] = $modx->getOption('fe_editor_lang',array(),$def);
$tiny->properties['frontend'] = true;
$tiny->properties['forced_root_block'] = 0;
I guess it just doesn’t want to work...
Not like I’m going to make money with this (It’s for my personal website, just for fun), but I have to admit.. I can’t even sleep because of this hehehe, I’m such a nerd for trying to fix everything I see that doesn’t work the way I want it to.. Hope any of you has the golden tip.

Only have a few hours of experience with this MODx and already doing some complicated stuff so I will absolutely keep on going with this CMS system, I see a LOT of positive things coming from this!! Going to make websites for my parents too, they are gonna love this! (and me

)