2009-07-18 5 views

Antwort

3

Ja, es hat a bundled plugin dafür.

tinyMCE.init({ 
    theme : "advanced", 
    mode : "textareas", 
    plugins : "bbcode", 
    theme_advanced_buttons1 : "bold,italic,undo,redo,link,unlink,image,cleanup", 
    theme_advanced_buttons2 : "", 
    theme_advanced_buttons3 : "", 
    theme_advanced_toolbar_location : "bottom", 
    theme_advanced_toolbar_align : "center", 
    theme_advanced_styles : "Code=codeStyle;Quote=quoteStyle", 
    content_css : "bbcode.css", 
    entity_encoding : "raw", 
    add_unload_trigger : false, 
    remove_linebreaks : false 
}); 
+0

sehr kühl, so dass im Grunde die bbcode, muss ich nur auf der Server-Seite die Regex tun zu handhaben und ich kann sicher alles andere entkommen, da sie nicht mit der realen Formatierung zu tun haben! – mrblah

Verwandte Themen