#2844: Make <APPLET> tag act like <EMBED> or <OBJECT>
--------------------------------+-------------------------------------------
Reporter: fredlefred | Owner:
Type: Bug | Status: new
Priority: Normal | Milestone: FCKeditor 2.6.4
Component: Core : Output Data | Version: FCKeditor 2.6.4 Beta
Keywords: |
--------------------------------+-------------------------------------------
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 !
--
Ticket URL: <http://dev.fckeditor.net/ticket/2844>
FCKeditor <http://www.fckeditor.net/>
The text editor for Internet
------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
FCKeditor-Trac mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fckeditor-trac