Vpp Man
Vpp Man

Reputation: 2546

Using simple markup language - applying it

I want to allow my users to add content. For making it easy i am going to use Textile or PHP Markdown.

I want to allow only the following formatting:

Nothing else. I can create a simple editor using jquery to surround with formatting tags.

So my questions:

Upvotes: 2

Views: 271

Answers (2)

Travis Pessetto
Travis Pessetto

Reputation: 3298

As far as markdown or an editor, I would say it depends on your visitors. If they are not too tech-savvy then go with TinyMCE. From the documentation, I cannot see anything about white listing or black listing.

Sanitize PHP:

Use:

htmLawed

or

Html Purifier

Upvotes: 0

Abid Hussain
Abid Hussain

Reputation: 7762

I think you can use ckeditor its free editor and his look and fill is very good and easy to setup.

Demo url :-

http://ckeditor.com/demo/ou

and you want to minimal editor tool you can see custom toolbar in demo

Download:-

http://ckeditor.com/download

Upvotes: 1

Related Questions