sputnik13 12 Posted April 14, 2010 Report Share Posted April 14, 2010 How I Kicked tinyMCE's ASS today!!! and you can too ... 1. tinymce uses javascript as the web page loads to takeover a standard textarea tagset to add its wysiwyg editor tools. 2. Its a javascript code - so we need to use javascript to disable the editor - which removes the IFRAME and pop-up tinyMCE uses to make our lives miserable. 3. I have no idea if this will work at every site, and I have a feeling certain sites will lose the ability to put html code in the text area boxes if tinyMCE is removed - just a hunch - my site doesnt - so Im cool with this solution. If you use this, and you can no longer at rich text or html to the textarea, and you need to - like for backlinks - you'll need to find another workaround. 4. Here's the JavaScript code I found on the tinyMCE developers forum and API documentations, wiki-examples. Where mydiv is the ID of the tinyMCE host html tags. These will be either DIV or TEXTAREA tagset as I understand it. tinyMCE.execCommand('mceRemoveControl',false,'mydiv'); So I went and read how this POS editor worked cuz it was making me bonkers! Found out there was code to turn it off. Only issue with that is - you need to have the DIV or other html tag that tinyMCE is parasiting into / in / on whatever in order to use the code. So I used the nifty little uBot "Choose By Attribute" to see the details of the [textarea ] [/textarea] tags to see what the ID=??? or name was ... See images http://content.screencast.com/users/sputnikkk13/folders/Jing/media/cf963450-6265-4331-8055-51849cff4366/2010-04-13_2343.png Once the tinyMCE editor was disabled and out of the way - I just chose the textarea attributes like any other element, and then set uBot to change it like a form field. Voila! tinyMCE's ASS ... officially kicked [ for the time being ] Hope this helps ya'll Bot On with Yo Bad Selves, Sputnik 1 Quote Link to post Share on other sites
Frank 177 Posted April 14, 2010 Report Share Posted April 14, 2010 Hey Sputnik, Can I post your idea on my website, www.ubotjunkie.com? Love to make a video of it as a ubot tutorial on tinymce. That way I don't forget how to do it, lol! Hey, If so, can I get your real name? Frank Quote Link to post Share on other sites
sputnik13 12 Posted April 14, 2010 Author Report Share Posted April 14, 2010 Hey Sputnik, Can I post your idea on my website, www.ubotjunkie.com? Love to make a video of it as a ubot tutorial on tinymce. That way I don't forget how to do it, lol! Hey, If so, can I get your real name? Frank PM sent ... Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.