lenya-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 47205] New: Internal anchors created in TinyMCE do not work.
Date Sat, 16 May 2009 14:53:23 GMT
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


Mime
View raw message