0

FCKEditor 2.xを使用するColdFusion<cftextarea richedit="true"> タグを使用して、FCKEditor 2.xが生成するタグではなく、タグ<cfreportparam>のみを理解するテキストフィールドにフィードしようとしています。<FONT><span style="">

fckconfig.jsFCKEditor 2.xで生成するようにカスタマイズするにはどうすればよいです<FONT face="" size="" color="">か?

このリンクは関連している必要があります:http://docs.cksource.com/FCKeditor_2.x/Developers_Guide/Configuration/Configuration_Options/CoreStyles

ありがとうございました

4

1 に答える 1

4

それを見つけた!に次のコードを追加します。fckconfig.js

FCKConfig.CoreStyles['FontFace'] = 
{ 
    Element     : 'font', 
    Attributes : { 'face' : '#("Font")' }
};
FCKConfig.CoreStyles['Size'] = 
{ 
    Element     : 'font', 
    Attributes : { 'size' : '#("Size","fontSize")' }
};
FCKConfig.CoreStyles['Color'] = 
{ 
    Element     : 'font', 
    Attributes : { 'color' : '#("Color","color")' }
};
FCKConfig.FontSizes = '1/xx-small;2/x-small;3/small;4/medium;5/large;6/x-large;7/xx-large' ;

ソース: http://drupal.fcckeditor.net/filters

于 2011-03-11T14:27:55.590 に答える