Opened 11 years ago

Closed 7 years ago

#2844 closed Bug (invalid)

Make <APPLET> tag act like <EMBED> or <OBJECT>

Reported by: fredlefred Owned by:
Priority: Normal Milestone:
Component: Core : Output Data Version: FCKeditor 2.6.4 Beta
Keywords: HasPatch Cc:

Description

It's a very small change in code (i made it in 5 min in packed javascript...).

It's needed to make possible to insert, for exemple, geogebra applet in fckeditor.

in : _source/internals/fck.js: replace :

    sTags += sTags.length > 0 ? '|ABBR|XML|EMBED|OBJECT' : 'ABBR|XML|EMBED|OBJECT' ;

by :

    sTags += sTags.length > 0 ? '|ABBR|XML|EMBED|OBJECT|APPLET' : 'ABBR|XML|EMBED|OBJECT|APPLET' ;

in : _source/internals/fcklistslib.js: replace :

    StyleObjectElements : { img:1,hr:1,li:1,table:1,tr:1,td:1,embed:1,object:1,ol:1,ul:1 },

by :

    StyleObjectElements : { img:1,hr:1,li:1,table:1,tr:1,td:1,embed:1,object:1,applet:1,ol:1,ul:1 },

in : _source/internals/fckdocumentprocessor.js after :

    processElementsByName( 'embed', doc );

add :

    processElementsByName( 'applet', doc );

That's all folk's !

Change History (2)

comment:1 Changed 11 years ago by Frederico Caldeira Knabben

Keywords: Confirmed HasPatch added
Milestone: FCKeditor 2.6.4

comment:2 Changed 7 years ago by Piotrek Koszuliński

Resolution: invalid
Status: confirmedclosed

There's no applet tag in HTML5.

Note: See TracTickets for help on using tickets.
© 2003 – 2019 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy