Support Forums
ATutor Support
class="____" and title="___" are stripped from link tags with WYSIWYG editor
You must be signed-in to post.
| Author | Subject | |
|---|---|---|
| Page: 1 | ||
| gtilflm | Subject: class="____" and title="___" are stripped from link tags with WYSIWYG editor | |
| Hello. I recently installed 2.0 and I've noticed that WYSIWYG editor doesn't allow for using class and title attributes in <a href......></a> links. The previous version I had (1.6.3) did the same thing. For example, something like: <a class="thickbox" title="Unit 9, Lesson 3" href="../restoflink/page.html?keepThis=true&TB_iframe=true&height=680&width=1105"> Would be replaced by the editor as: <a href="../restoflink/page.html?keepThis=true&TB_iframe=true&height=680&width=1105"> Any thoughts on this? Thanks Posted: 2010-07-31 22:15:30 | ||
greg![]() | Subject: Re: class= | |
| This might be something to bring up with the TinyMCE people. tinymce.moxiecode.com/ For now you'll need to turn off the WYSIWYG editor. Posted: 2010-08-01 10:49:26 | ||
| gtilflm | Subject: Re: class= | |
| Found the fix for this problem. In ATutor/include/lib/tinymce.inc.php, you need to add "class" into the list of "extended_valid_elements". The final code should look like... Cheers. Posted: 2010-08-02 03:54:17 | ||
| gtilflm | Subject: Re: class= | |
| I was trying to highlight the "class" part in red and apparently that doesn't jive well with php code being displayed on the forum. The proper final code should look like... Posted: 2010-08-02 03:56:12 | ||
greg![]() | Subject: Re: class= | |
| Good catch, thx www.atutor.ca/atutor/mantis/view.php?id=4445 Posted: 2010-08-02 08:43:10 | ||
harris![]() | Subject: Re: class= | |
| fixed in patch #4. Posted: 2010-08-04 16:00:13 | ||
| Page: 1 | ||
You must be signed-in to post.



