(1)

tinyMCE – startup without p tag

Since the new release of tinyMCE (3.x), every opened editor starts with a p tag. To circumvent this behaviour, place the following line into your init function of the editor:

example:

tinyMCE.init({
...
forced_root_block : false,
...

That’s it. The editor now starts without any html tags.

Filed under: Programming — Tags: , , , , — admin @ 3:40 pm
 

1 Comment »

  1. Comment by Koen

    December 16, 2008

    Thanks! Exactly what i was looking for!

RSS feed for comments on this post. TrackBack URL

Leave a comment

copyright © 2010 artViper designstudio, all rights reserved

Latest twitter news

web | Tue Mar 16

Website SEO strength #seo #website #check http://www.artviper.net/websitecheck/website-check.php - test your website's SEO optimization

oneview_de | Mon Mar 15

Feinste Maultaschen sowie viele Brotaufstriche gibts bei Fechters - sehr empfehlenswert. http://www.oneview.de/url/113355486/

web | Mon Mar 15

#Maultaschen - www.fechters.com - delicatessen trade - real nice food!

Random posts

09-11-20 | HTML5 links without referrer ...

As specified in the upcoming HTML5, links ( a and area tags ) can hold the rel tag noreferrer - which stops sending head...

08-03-30 | Add lightbox to XT:Commerce shops ( XT:Com 3. ...

XT:Commerce is getting old, as the actual release still utilizes popups to display original images. So here's a simple w...

07-04-24 | Exposing and Preventing Errors in AJAX Appli ...

Exposing and Preventing Errors in AJAX Applications (Linux World) When organizations focus on exposing errors in any ki...