Disable TinyMCE absolute to relative URL Conversions

Set convert_urls: false in tiny_mce_init.js, not tiny_mce.js. Early in tiny_mce_init.js you’ll see a call to window.tinyMCE.init passing a bunch of initialisation options. In the Products.TinyMCE I’m looking at, the last option is fix_list_elements: false. Add your option there. Edit: tiny_mce_init.js is no longer used in Products.TinyMCE 1.3.x (Plone 4.3). Instead, override the tinymce-jsonconfiguration browser view, … Read more

How do I find out what version of TinyMCE I am running?

Having a look at the source of tinymce (file tiny_mce_src.js, which is easier to read than, tiny_mce.js which is minified) : var tinymce = { majorVersion : ‘3’, minorVersion : ‘2.5’, releaseDate : ‘2009-06-29′, // lots of code ^^ })(); So, I’d say that, in Javascript, something like this : tinymce.majorVersion + ‘.’ + tinymce.minorVersion … Read more

tinymce adding p tags automatically?

TinyMce automatically add “<p>” in new lines. You can set this option in tinyMce initialization like this: tinyMCE.init({ mode : “textareas”, theme : “advanced”, force_br_newlines : false, force_p_newlines : false, forced_root_block : ”, }); Hope it will help Fonski

Remove menu and status bars in TinyMCE 4

I looked at the source and it was fairly obvious: tinyMCE.init({ menubar:false, statusbar: false, //etc }) This removes both. You can also customise what parts of the default menu bar are visible by specifying a string of enabled menus – e.g. menubar: ‘file edit’ You can define your own menus like this: menu : { … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)