TinyMCE Callout issue
matty_mouse
Member
Hello everyone!
I'm trying to use the full version of TinyMCE (downloaded from http://tinymce.moxiecode.com/) in a callout, and I'm having some trouble. Normally our lead TeamSite developer would take care of this, but he just got a new job, so I get to struggle with it now...
I've got the callout working - it loads a textarea with a submit button. But the textarea is not TinyMCE-enabled. IS what I'm trying to do even possible, or am I stuck with the TinyMCE version that ships with TeamSite?
I've attached my code, in case any of you have the time to try to help out.
Many thanks!!
Matt
TS 6.7.2 on RH Linux
I'm trying to use the full version of TinyMCE (downloaded from http://tinymce.moxiecode.com/) in a callout, and I'm having some trouble. Normally our lead TeamSite developer would take care of this, but he just got a new job, so I get to struggle with it now...
I've got the callout working - it loads a textarea with a submit button. But the textarea is not TinyMCE-enabled. IS what I'm trying to do even possible, or am I stuck with the TinyMCE version that ships with TeamSite?
I've attached my code, in case any of you have the time to try to help out.
Many thanks!!
Matt
TS 6.7.2 on RH Linux
0
Comments
-
Hi Pawan,
Thanks for your response! We do have TinyMCE installed, but either TS 6.7.2 ships with a version from 2007, or our Sysadmin did not install TS 6.7.2 correctly. We've had nothing but problems with TinyMCE, so I thought I would try to use the full version, and the only way I could think of being able to do that was by using a callout.
The problems we're having with TinyMCE (in case anyone has ever had these issues) is that the bold, italic, and underline buttons don't work (they do nothing in Firefox, and in IE they bold/italicize/underline everything in the textarea). I am not very comfortable with javascript (I'm the XHTML/CSS guy here), so this whole TinyMCE thing terrifies me!
Cheers,
Matt0 -
You just cannot install another/full version of tinymce and expect it to work with teamsite, unless IWOV support confirms it. Before any new install I am sure you should have a back up of existing tinymce.Hi Pawan,
Thanks for your response! We do have TinyMCE installed, but either TS 6.7.2 ships with a version from 2007, or our Sysadmin did not install TS 6.7.2 correctly. We've had nothing but problems with TinyMCE, so I thought I would try to use the full version, and the only way I could think of being able to do that was by using a callout.
The problem you mentioned may be because of some code getting into the tinymce when user is trying to use bold/italic/underline. You can use the option of cleaning up messy code, or manually opening the view source of tinymce and checking/removing the extra bold/italic/underline tags inserted. However, you can find a permanent fix for it, if you can find the cause.The problems we're having with TinyMCE (in case anyone has ever had these issues) is that the bold, italic, and underline buttons don't work (they do nothing in Firefox, and in IE they bold/italicize/underline everything in the textarea). I am not very comfortable with javascript (I'm the XHTML/CSS guy here), so this whole TinyMCE thing terrifies me!
Cheers,
Matt0 -
I didn't overwrite the existing install, I just put the full install of TinyMCE in a folder in the same workarea as the DCT. From what I've read, a callout window can be just a plain HTML page (provided it's coded as such in the CGI), so a plain HTML page should be able to take advantage of the new TinyMCE install if the correct javascript call is there. I may be wrong about this though.You just cannot install another/full version of tinymce and expect it to work with teamsite, unless IWOV support confirms it. Before any new install I am sure you should have a back up of existing tinymce.
I've tested it with just: <p>This is a test.</p>, so I know it's not because of bad HTML in there. From what I've read, there is no code in TinyMCE to do the bold/italic/underline - it's done by the browser (tried to find the moxiecode forum article again that I read this in, but to no avail).The problem you mentioned may be because of some code getting into the tinymce when user is trying to use bold/italic/underline. You can use the option of cleaning up messy code, or manually opening the view source of tinymce and checking/removing the extra bold/italic/underline tags inserted. However, you can find a permanent fix for it, if you can find the cause. 0 -
Ok, since tinymce is mostly javascript you can try to use it the way you said, but it is not a good practice, you may run into issues.
Now the actual problem is the text getting bold/italic/underline, for that matter you do not need a new version of tinymce, so, IMO you should be fighting more with the existing tinymce rather that trying to install new version play a new game.
The case I mentioned was if you make some text bold/italic/underline the tags get copied inside the view source, which may be cleaned up using the button "Cleanup messy code", try to preview/generate if you have one. If it looks incorrect in html, it may be because of any css class used, this is just a guess.0 -
I think I'll just create another post asking for confirmation that TinyMCE should be version 3+ in TS 6.7.2. If that is the case, I'll send this issue to my Sysadmin, as the wrong version of TinyMCE may be responsible for some of the strange issues I'm having (we currently have TinyMCE 2.1.3, and this is supposedly from a fresh install of TS 6.7.2).
Thanks very much for your time and suggestions!
Cheers,
Matt0 -
Thanks Jim! I will close my other post asking about the TinyMCE version that ships with TS 6.7.2.0
Categories
- All Categories
- 123 Developer Announcements
- 54 Articles
- 154 General Questions
- 149 Thrust Services
- 57 Developer Hackathon
- 37 Thrust Studio
- 20.6K Analytics
- 4.2K AppWorks
- 9K Extended ECM
- 918 Core Messaging
- 84 Digital Asset Management
- 9.4K Documentum
- 33 eDOCS
- 190 Exstream
- 39.8K TeamSite
- 1.7K Web Experience Management
- 10 XM Fax
- Follow Categories
TeamSite Developer Resources
If you are interested in gaining full access to the content, you can register for a My Support account here.
- Docker Automation
- LiveSite Content Services (LSCS) REST API
- Single Page Application (SPA) Modules
- TeamSite Add-ons
If you are interested in gaining full access to the content, you can register for a My Support account here.