Chalist
Chalist

Reputation: 3309

How to limit content with html tags in a DIV

I have a text editor in my website and my customer's job is: "Text Pasting From Microsoft Office". And Microsoft Office embed many tags in background and this tags destroy my page view.

I can't use BBCode and I can't limit users.

How I can limit this tags just in a DIV that when html tags crashed, my page view does not destroy?

How I keep page style without attention to pasted text form Microsoft office? What do you recommend?

Upvotes: 3

Views: 247

Answers (1)

amirmohammad
amirmohammad

Reputation: 374

you can use ckeditor that support cut,copy and paste from word document to text editor.

this is manual http://docs.cksource.com/CKEditor_3.x/Users_Guide/Document/Cut,_Copy_and_Paste

Upvotes: 1

Related Questions