You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lenya.apache.org by bu...@apache.org on 2009/05/16 16:53:23 UTC
DO NOT REPLY [Bug 47205] New: Internal anchors created in TinyMCE do
not work.
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: dev@lenya.apache.org
ReportedBy: rainer.schoepf@gmx.net
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: dev-unsubscribe@lenya.apache.org
For additional commands, e-mail: dev-help@lenya.apache.org
DO NOT REPLY [Bug 47205] Internal anchors created in TinyMCE do not
work.
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=47205
--- Comment #1 from Rainer Schöpf <ra...@gmx.net> 2009-05-16 07:58:22 PST ---
Created an attachment (id=23669)
--> (https://issues.apache.org/bugzilla/attachment.cgi?id=23669)
TinyMCE configuration to make it conform to the basic XHML schema.
This replacement for the file
modules/tinymce/resources/javascript/tiny_valid_elements.js. It lists only
those elements and attributes that are allowed by the basic XHTML schema (with
the exception of the name attribute of the A tag).
--
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: dev-unsubscribe@lenya.apache.org
For additional commands, e-mail: dev-help@lenya.apache.org
DO NOT REPLY [Bug 47205] Internal anchors created in TinyMCE do not
work.
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=47205
Juergen Ragaller <ra...@apache.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #2 from Juergen Ragaller <ra...@apache.org> 2009-06-26 06:49:47 PST ---
applied
--
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: dev-unsubscribe@lenya.apache.org
For additional commands, e-mail: dev-help@lenya.apache.org