YUI editor 2.7 support patch

berenddeboer - August 26, 2009 - 14:50
Project:YUI Rich Text Editor
Version:6.x-2.33
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:duplicate
Description

The patch below adds support for YUI 2.7 and fixes quite a number of bugs:

1. Support for 2.7.
2. Code button now saves even when pressed.
3. Some code cleanup.
4. Image upload creates the "images" directory if it does not exist. Previously upload would fail without warning if this subdirectory did not exist.
5. The
versus

is no longer experimental, works on FF as well.
6. You can't include <?php tags. So I've added a filter which you can enable. Specify PHP with tags and the filter turns that into <?php.

The patch also contains fixes when YUI's rich text editor appears multiple times on a page, but not enough unfortunately. So buttons like the table and coder button now appear, but things like the paragraph selection still don't work. Will post another patch for these when I've fixed that.

I appreciate comments and obviously improvements.

AttachmentSize
yui_editor-2.7-patch-1.diff14.22 KB

#1

skwashd - August 28, 2009 - 22:47

Please keep the effort in 1 place. There is an existing issue for this - see #386066: Add support for YUI 2.7.x

#2

berenddeboer - August 31, 2009 - 10:03
Status:needs work» duplicate
 
 

Drupal is a registered trademark of Dries Buytaert.