Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re^4: TinyMCE javascript toolbar (valid_elements perlmonksapprovedtags)

by Anonymous Monk
on Dec 15, 2014 at 00:00 UTC ( [id://1110343]=note: print w/replies, xml ) Need Help??


in reply to Re^3: TinyMCE javascript toolbar (style=)
in thread TinyMCE javascript toolbar

Speaking of http://www.tinymce.com/wiki.php/Configuration:valid_elements and Perl Monks Approved HTML tags
valid_elements : "a[href|name|target|class|title|rel],abbr[title],b,bi +g,blockquote[class|cite|lang|dir],br,c,caption[class],center,code,col +[align|col|span|width|class],colgroup[align|col|span|width|class],dd, +del[class|datetime|cite],div[class],dl,dt,em,font[size|color|class],h +[class|align],h3[class|align],h4[class|align],h5[class|align],h6[clas +s|align],hr,i,ins[class|datetime|cite],li[value],ol[type|start],p[ali +gn|class],pre[class],readmore3[title],small,span[class|title],spoiler +4,strike,strong,sub,sup,table[width|cellpadding|cellspacing|border|bg +color|class],tbody[width|align|valign|colspan|rowspan|bgcolor|height| +class],td[width|align|valign|colspan|rowspan|bgcolor|height|class],tf +oot[width|align|valign|colspan|rowspan|bgcolor|height|class],th[width +|align|valign|colspan|rowspan|bgcolor|height|class],thead[width|align +|valign|colspan|rowspan|bgcolor|height|class],tr[width|align|valign|c +olspan|bgcolor|height|class],tt[class],u,ul[type],wbr"

Replies are listed 'Best First'.
Re^5: TinyMCE javascript toolbar ( tinymce/js/tinymce/plugins/perlmonks/plugin.js )
by Anonymous Monk on Dec 15, 2014 at 00:36 UTC

        Hi Anon,

        Ok, I've been out all day and I'm going through your posts. Thanks for all this, you've done a lot. Have you downloaded a local tinyMCE? And then created a local PerlMonks plugin?

        Can you put it on a server?  If you can't I can do it.

        Going though html lines:

        remove_linebreaks: false, // This is current, but I didn't find it helped. I'll try again.

         forced_root_block : 'p', // This is current, but I didn't find it helped. I'll try again.

        convert_newlines_to_brs : true, // Again, this is current, but I didn't find it helped.

         force_p_newlines : false, // This option is deprecated as of 3.5

         remove_redundant_brs: false, // This option was removed in 3.4, this is now default behavior.

        preformatted : true, //  I'll try again.

        Ok, these seem to work now.  (I omitted the deprected ones.).

        Regards

        Steve.

        (Posted with tinyMCE)

      Turning bbcode off got a whole load of things to spring into life.

        Turning bbcode off got a whole load of things to spring into life.

        Yeah, I did that ages ago :)

        And its finished , for the most part :) buttons work, switching from raw to mce to raw works, no multiline code inside tt code ...

        plugin.js not v1

        the html with important stuff thats hard to config from plugin

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1110343]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others taking refuge in the Monastery: (5)
As of 2024-04-19 02:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found