View Full Version : HTML Editors
jtech
08-11-2009, 09:47 PM
Unable to get TinyMCE to work properly. I've tried to create a list, but when I click Save Event the list reverts back to a paragraph. I tried everything to get the basic HTML tags to work. Nothing. The <p> tag is the only one that works.
HTMLArea is no longer supported and SPAW is at version 2, which Easy Calendar does not support at this time.
Will there be support for SPAW2 in the near future?
Looking for a solution.
I found out that TinyMCE does not work in Firefox. Any fix to this issue. Don't make me use IE.
Brian
08-11-2009, 10:01 PM
Did you select Allow HTML in the calendar Setup Manager?
I use TinyMCE exclusively in FireFox and it works very well.
jtech
08-11-2009, 11:51 PM
Hi Brain,
Allow HTML in Event Descriptions is set to yes. My version of Firefox is 3.5.2. TinyMCE will not work with this version.
Brian
08-12-2009, 12:17 AM
I'm using FireFox 3.5.2 and TinyMCE and it works fine. Does our demo page work for you?
jtech
08-12-2009, 08:31 AM
Brian,
Ordered and unordered lists do not work on the demo. Am I missing something when using the editor. I checked the HTML code and it was fine. Opening and closing tags were there. Save changes and no list.
Brian
08-12-2009, 10:59 AM
Can you post the HTML in a reply here so I can test it?
jtech
08-12-2009, 12:32 PM
<ul>
<li>test</li>
<li>test</li>
<li>test</li>
</ul>
The code from the demo.
Brian
08-12-2009, 12:57 PM
Just did some testing. If I disable TinyMCE and add the HTML, it will work. Try this yourself locally to make sure this is correct.
So, TinyMCE is removing the list code.
Might need to poke around their site for the solution...
jtech
08-12-2009, 02:06 PM
I've been using your program without the editor for awhile. I have no problem coding a list outside of TinyMCE. I was hoping to speed up the process. I will refrain from using lists in my events.
Brian
08-12-2009, 02:12 PM
Try editing your calendar/events/editors/tinymce/header.php file and look for this line:
extended_valid_elements : "a[name|href|target|title|onclick],img[class|src|border=0|alt|title|hspace|vspace|width|h eight|align|onmouseover|onmouseout|name],hr[class|width|size|noshade],font[face|size|color|style],span[class|align|style]"
});
Add in ",ul,li" at the end and see if that helps.
jtech
08-12-2009, 02:31 PM
Brian - I'm still a novice around PHP and would probably do more harm than good. When you say at the end do you mean at this point: ...|style],ul,li"});
Brian
08-12-2009, 02:32 PM
Correct. I didn't test it, but it looks like that should put those entities on the allow list.
jtech
08-12-2009, 02:43 PM
Thanks Brian. I will test that tonight and let you know. At my day job.
jtech
08-14-2009, 11:12 PM
Brian - That code change to header.php did not work.
ve9gra
08-15-2009, 07:44 AM
I have an older version of TinyMCE (2.1.0) and ordered and unordered lists work with no changes.
Brian
08-15-2009, 09:57 AM
You may try posting or searching TinyMCEs support for the answer. And if you need to edit the files, it would be in the same place as before.
vBulletin® v3.8.4, Copyright ©2000-2013, Jelsoft Enterprises Ltd.