I read the manual and found this:
remove_script_host : false
It works! ![]()
Get your own copy
Don't hesitate! Just download and test it all by yourself for free!
Pages 1
I read the manual and found this:
remove_script_host : false
It works! ![]()
This is a problem for me. When TinyMCE changes 'http://www.myserver/com/myfolder/myimage.jpg' to '/myfolder/myimage.jpg', the image is broken when the document is sent and used on a different website. (I've tried a combination of all the init attributes suggested here, TinyMCE still changes URLs.) TinyMCE really needs to leave URLs unchanged. I'll be hacking the source to get it to work in this version.
Thanks for a great product though! Not nearly as many problems as I would expect if I were to create something like this from scratch. I'm very pleased. ![]()
Someone in this thread brought up the concern that if people see the word "commercial" they will stop using tinymce forever, not bothering to think about the issue.
Your dilemna:
There are currently some companies and goverment agencies that can't use the LGPL for various reasons.
Possible solution:
Just make it clear everywhere in plain english that "some companies are not allowed to use free software because of strange legal reasons, so we created a special commercial license just for them. Therefore there are 2 licenses: a FREE license and an inexpensive license. Everybody except for the exceptional few can ignore the commercial license and use tinymce for FREE under the LGPL."
Something like that may not scare people away.
Keep up the good work!
David
It is in the documentation:
force_br_newlines : truePut that into the tinyMCE.init
As a matter of fact, I was trying to do the exact same thing with execCommand using mceFocus and mceInsertContent and could not get it to work. I kept getting a pop-up warning for the mceInsertContent because mceFocus apparently didn't set the focus. After reading your post I tried execInstanceCommand and so far it seems to work perfectly.
Here is my line of PHP:
window.opener.tinyMCE.execInstanceCommand('mce_editor_0', 'mceInsertContent', false, '".$record['Description']."');
I'm not sure what is wrong with your implementation, it seems like you are doing the same thing..
David
Well, I was able to prevent this from happening by editing tiny_mce.js and removing the following lines:
if(elementId.indexOf('mce_editor_')==0)
formObj.elements[i].disabled=true;
I have no idea what purpose these lines serve, but they are gone now. ![]()
I love this WYSIWYG, thanks!
My application uses "submit" to generate a preview pop-up of what my user is composing. Naturally, if they want to close this pop-up and continue editing inside of the WYSIWYG, they are not able to change font face or font size via the dropdown boxes that have become disabled from the "submit".
Is there a special trick that I can use to prevent "submit" from disabling those dropdowns?
Thanks again!
David
Pages 1
You are not logged in. Please login or register.