https://issues.apache.org/bugzilla/show_bug.cgi?id=46367

           Summary: textarea elements in a web page are not handled properly
                    by TInyMCE
           Product: Lenya
           Version: 2.0
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: TinyMCE Integration
        AssignedTo: [email protected]
        ReportedBy: [EMAIL PROTECTED]


Created an attachment (id=23003)
 --> (https://issues.apache.org/bugzilla/attachment.cgi?id=23003)
Patch to allow textarea elements in a page to be edited by TinyMCE

Someone created a form with a textarea element in it. When one tries to edit
the page, TinyMCE displays everything after the textarea element outside the
edit area.

Reason: TinyMCE use textarea for the editable area. A nested textarea is not
possible, as the end tag of the inner textarea closes the outer textarea,
causing the described effect.

How to reproduce: create a webpage containing a textarea element. Save it and
open it in TinyMCE.

Solution: Add a template to the TinyMCE xslt to specially treat nested textarea
elements.

A patch against lenya 2.0.2 is attached.

Kupu seems to suffer from the same problem, but I didn't look at it.

 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]

Reply via email to