20 自定义富文本工具栏

2021-07-22 08:49 更新


function ( configObject ) {

    configObject.filebrowserBrowseUrl =

        "f?p=" + $v( "pFlowId" ) + ":49:" + $v( "pInstance" ) + "::" + $v( "pdebug" );

    configObject.filebrowserWindowWidth = 440;

    configObject.filebrowserWindowHeight = 300;

    configObject.toolbar = [

       ['Source','-','Save','NewPage','Preview','-','Templates'],

       ['Cut','Copy','Paste','PasteText','PasteFromWord','-','Print', 'SpellChecker', 'Scayt'],

       ['Undo','Redo','-','Find','Replace','-','SelectAll','RemoveFormat'],

       ['Form', 'Checkbox', 'Radio', 'TextField', 'Textarea', 'Select', 'Button', 'ImageButton', 'HiddenField'],

       '/',

       ['Bold','Italic','Underline','Strike','-','Subscript','Superscript'],

        ['NumberedList','BulletedList','-','Outdent','Indent','Blockquote'],

        ['JustifyLeft','JustifyCenter','JustifyRight','JustifyBlock'],

        ['Link','Unlink','Anchor'],

       ['Image','Flash','Table','HorizontalRule','Smiley','SpecialChar','PageBreak'],

       '/',

        ['Styles','Format','Font','FontSize'],

        ['TextColor','BGColor']

    ];

}


以上内容是否对您有帮助:
在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号