editor fix

This commit is contained in:
life
2014-05-21 10:08:47 +08:00
parent 2d107b754d
commit ddd0c13d34

View File

@ -166,19 +166,17 @@
$(function() { $(function() {
tinymce.init({ tinymce.init({
selector : "#AboutMe", selector : "#AboutMe",
content_css : [ "/css/bootstrap.css", "/css/editor.css" ], content_css : [ "/css/bootstrap.css", "/css/editor/editor.css" ],
skin : "custom", skin : "custom",
language : "zh_CN", language : "zh",
height : 300, height : 300,
width : "100%", width : "100%",
skin : "custom",
plugins : [ plugins : [
"advlist autolink link image lists charmap hr ", "advlist autolink link leanote_image lists charmap hr ",
"searchreplace visualblocks visualchars code tabfocus", "searchreplace visualblocks visualchars leanote_code tabfocus",
"table contextmenu directionality textcolor paste fullpage textcolor" ], "table contextmenu directionality textcolor paste fullpage textcolor"],
toolbar1 : "formatselect |fontselect fontsizeselect| forecolor backcolor | bold italic underline strikethrough | bullist numlist |",
toolbar1 : "formatselect fontselect fontsizeselect | forecolor backcolor | bold italic underline strikethrough | image | bullist numlist | alignleft aligncenter alignright alignjustify",
toolbar2 : "outdent indent blockquote | link unlink | table | hr removeformat | subscript superscript | visualchars visualblocks | searchreplace | code",
menubar : false, menubar : false,
toolbar_items_size : 'small', toolbar_items_size : 'small',
statusbar : false, statusbar : false,