(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

TweetMeme | Sun Feb 28

RT @nettuts Top 20+ MySQL Best Practices - Nettuts+ http://bit.ly/6C4FqG

TweetMeme | Wed Feb 24

RT @mashable Typekit Launches its Cloud-Based Web Font Service http://bit.ly/4w68Ub

TweetMeme | Wed Feb 24

RT @tweetmeme 3 New Ways to Measure the Social Web http://ow.ly/1o0cfQ

Random posts

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...

08-02-21 | mooFlickr widget - display your flickr stuff ...

If you wish to display your flickr stats in your blog, on your page etc, you'll need this nifty little widget. It's capa...

07-05-20 | How To Develop AJAX Applications (Linux Worl ...

How To Develop AJAX Applications (Linux World) This content is reprinted from Real-World AJAX: Secrets of the Masters p...