| Author |
Message |
brandy
Joined: 28 Nov 2006 Posts: 3
|
Posted: 28 Nov 2006 - 2:36 pm Post subject:
get rid of <a class="undefined"> when using tinyMCE/tinyRCE
|
|
|
Hi, everyone.
I'm trying to use tinyRCE editor instead of htmlArea RTE. Can anybody help me to get rid of class="undefined" when links via "instert/modify links" are automatically generated?
And more. I haven't found any documentation (like htmlArea RTE has) to configure tinyRCE via typoScript. Any ideas? |
|
|
Back to top
|
|
|
ttb

Joined: 03 Dec 2005 Posts: 80 Location: Schwerin (Germany)
|
|
|
Back to top
|
|
|
brandy
Joined: 28 Nov 2006 Posts: 3
|
Posted: 29 Nov 2006 - 9:35 am Post subject:
|
|
|
ttb, thank you for the link. I've also found this link in the editor itself when pressing the button "help". But I can hardly call it a good manual. There is almost no information there. I looked through the htmlarea_rte manual and I can say that you can make very flexible settings for the editor. But, unfortunately, there is almost no possibilities to configure inserting from MS Word. That's why I've decided to use tiny_rce. It works much better with Word inserting, but some "unnecessary" things are inserted and "necessary" one's are removed. For example:
Trying to insert an image with default width and height. Generated code:
<img src="path_to_image" style="width: 30px; height: 40px" width="30" height="40">
How to remove attribute style="width: 30px; height: 40px" ?
Or another example. I have an image, which is aligned to right.
(align="right" or style="float: right"). Left to this image there is some text. But the height of the image is bigger than the text-height. That's why I need to insert <br clear="right"> (Or style="clear: right" for any other block element). But the editor removes it, if I'm writing something like that in html.
Basically, both problems are similar to the first one, which I've opened with <a href="url" class="undefined" >
Ok, if anybody could tell how to configure all this things, I will be very
thankful. |
|
|
Back to top
|
|
|
brandy
Joined: 28 Nov 2006 Posts: 3
|
Posted: 30 Nov 2006 - 7:20 am Post subject:
|
|
|
I can't believe nobody knows how to solve this problem  |
|
|
Back to top
|
|
|
ttb

Joined: 03 Dec 2005 Posts: 80 Location: Schwerin (Germany)
|
Posted: 01 Dec 2006 - 2:24 pm Post subject:
|
|
|
Which docType and version of Typo3 do you use? Have you also installed the newest version of tiny_rte? Perhaps it is/was a bug of the extension?
You can also install the extension qcom_htmlcleaner. This extension cleans the code of the frontend. |
|
|
Back to top
|
|
|
|