We are running Tiki 6.2 (clean install), on a Windows 2003 Server, Apache 2.2.16 w SSL, PHP 5.3.3, remote MySQL 5 database.
This bug is across all browsers.
Our users are editing in the CKEditor WYSIWYG and trying to add anchors. When using the WYSIWYG_6x default profile of:Editing and Plugins Wiki Paragraph formatting (ON, however default: off) ...but still create line breaks within paragraphs (on) HTML Purifier (on) Wiki Allow HTML (on, however default: off) WYSIWYG Content is parsed like wiki page (on) Content is partially wiki parsed (off) Use Wiki syntax in WYSIWYG (off)
[#myAnchor|Link to bottom]
I have had to instruct our users how to type in manually the anchors using the old plugins http://doc.tiki.org/PluginAlink and http://doc.tiki.org/PluginAname. They are not happy about using long hand plugin notation.
I have tried in both IE 8 and FF 3.6 with the same result.
Since IE is our corp standard our users need to be able to add anchors using that browser. Also, they had no problem in Tiki 5.x but that was a different WYSIWYG system.
May be related to http://dev.tiki.org/tiki-view_tracker_item.php?itemId=1499
This is the fix but needs to be made optional becasuse allowing IDs is a potential security/integrity problem. See http://htmlpurifier.org/live/configdoc/plain.html#Attr.EnableID for more information.
Index: HTMLPurifier.tiki.php =================================================================== --- HTMLPurifier.tiki.php (revision 34555) +++ HTMLPurifier.tiki.php (working copy) @@ -48,8 +48,12 @@ if ($prefs['feature_wysiwyg'] == 'y' || $prefs['popupLinks'] == 'y') { $conf->set('HTML.DefinitionID', 'allow target'); $conf->set('HTML.DefinitionRev', 1); + $conf->set('Attr.EnableID', 1); $def = $conf->getHTMLDefinition(true); $def->addAttribute('a', 'target', 'Enum#_blank,_self,_target,_top'); + $def->addAttribute('a', 'name', 'CDATA'); + + } return $conf; }
To help developers solve the bug, we kindly request that you demonstrate your bug on a show2.tiki.org instance. To start, simply select a version and click on "Create show2.tiki.org instance". Once the instance is ready (in a minute or two), as indicated in the status window below, you can then access that instance, login (the initial admin username/password is "admin") and configure the Tiki to demonstrate your bug. Priority will be given to bugs that have been demonstrated on show2.tiki.org.
To help developers solve the bug, we kindly request that you demonstrate your bug on a show.tikiwiki.org instance. To start, simply select a version and click on "Create show.tikiwiki.org instance". Once the instance is ready (in a minute or two), as indicated in the status window below, you can then access that instance, login (the initial admin username/password is "admin") and configure the Tiki to demonstrate your bug. Priority will be given to bugs that have been demonstrated on show.tikiwiki.org.
filename | created | hits | comment | version | filetype | ||
---|---|---|---|---|---|---|---|
No attachments for this item |