https://issues.apache.org/bugzilla/show_bug.cgi?id=47205
Summary: Internal anchors created in TinyMCE do not work.
Product: Lenya
Version: 2.0.3
Platform: All
OS/Version: All
Status: NEW
Keywords: PatchAvailable
Severity: normal
Priority: P2
Component: TinyMCE Integration
AssignedTo: [email protected]
ReportedBy: [email protected]
Created an attachment (id=23668)
--> (https://issues.apache.org/bugzilla/attachment.cgi?id=23668)
Patch to tiny_config.js
An internal anchor created in TinyMCE (using the "anchor" icon) doesn't work.
TinyMCE puts the anchor name into the attribute "name", but the basic XHTML
schema requires it to appear in the "id" attribute. The attribute "name" is
hardwired into the TinyMCE JavaScript code; therefore the simplest way to
correct the problem is to register a custom cleanup function, to convert the
name attribute to id when the content is saved to lenya, and back when TinyMCE
is invoked on a document.
This was tested with TinyMCE 2.1.3.
Rainer Schöpf
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]