zoukankan      html  css  js  c++  java
  • tinymce配置

     1 TINYMCE_DEFAULT_CONFIG = {
     2     # // General options
     3     'mode': 'textareas',
     4     'theme': "advanced",
     5     'plugins': "pagebreak,style,layer,table,save,advhr,advimage,advlink,emotions,iespell,inlinepopups,insertdatetime,preview,media,searchreplace,print,contextmenu,paste,directionality,fullscreen,noneditable,visualchars,nonbreaking,xhtmlxtras,template,wordcount,advlist,autosave",
     6 
     7     # // Theme  options
     8     'theme_advanced_buttons1': "save,newdocument,|,bold,italic,underline,strikethrough,|,justifyleft,justifycenter,justifyright,justifyfull,styleselect,formatselect,fontselect,fontsizeselect,fullscreen,code",
     9     'theme_advanced_buttons2': "cut,copy,paste,pastetext,|,search,replace,|,bullist,numlist,|,outdent,indent,blockquote,|,undo,redo,|,link,unlink,anchor,image,cleanup,|,insertdate,inserttime,preview,|,forecolor,backcolor",
    10     'theme_advanced_buttons3': "tablecontrols,|,hr,removeformat,visualaid,|,sub,sup,|,charmap,emotions,iespell,media,advhr,|,print,|,ltr,rtl",
    11     'theme_advanced_toolbar_location': "top",
    12     'theme_advanced_toolbar_align': "left",
    13     'theme_advanced_statusbar_location': "bottom",
    14     'theme_advanced_resizing': 'true',
    15 
    16     # // content_css: "/css/style.css",
    17     'template_external_list_url': "lists/template_list.js",
    18     'external_link_list_url': "lists/link_list.js",
    19     'external_image_list_url': "lists/image_list.js",
    20     'media_external_list_url': "lists/media_list.js",
    21 
    22 # // Style formats
    23     'style_formats': [
    24     {'title': 'Bold text', 'inline': 'strong'},
    25     {'title': 'Red text', 'inline': 'span', 'styles': {'color': '#ff0000'}},
    26     {'title': 'Help', 'inline': 'strong', 'classes': 'help'},
    27     {'title': 'Table styles'},
    28     {'title': 'Table row 1', 'selector': 'tr', 'classes': 'tablerow'}
    29     ],
    30     'width': '700',
    31     'height': '400'
    32 }
  • 相关阅读:
    应用部署架构演进【转载】
    TiDB 学习笔记一(运维管理)
    c++ strcmp函数
    C++ sort()函数
    C++ 遍历set的三种方式
    nvcc fatal : '--ptxas-options=-v': expected a number
    PAT A1039 Vector的使用
    C++ set
    C++ int与string互转换
    C++%f和%lf的区别
  • 原文地址:https://www.cnblogs.com/Fmaj7/p/13439414.html
Copyright © 2011-2022 走看看