PHP webdeveloper and frontend developer




Force break instead of paragraph on new lines in Tiny_mce

Category : jQuery & javascript · by Jan 22nd, 2010

Normally tiny_mce inserts a new paragraph when you hit return. You can make tiny_mce force a BR element on newlines instead of inserting a new paragraph. Normally you should utilize P tags instead of BR, so only use this when you have to!

Usage:

 

SHARE :

Leave a Reply

Your email address will not be published. Required fields are marked *


s