Faust
Faust

Reputation: 15404

CKEditor: insert HTML from clip-board at current insertion point in WYSIWYG mode?

It seems that to insert HTML into the source code in CKEditor one must view source, then scan down through the code to find the appropriate insertion point.

I have a situation where the user will have HTML in their clipboard, but will not be HTML proficient, and will have a tough time understanding where in the source they need to insert the clip of HTML

SO: Is there a way to get CKEditor to paste, into the source code, whatever is in the user's clipboard at the current insertion point while in WYSIWYG mode?

Would this require developing a plugin? If so, could anyone someone provide a high-level overview of how that would be done?

Upvotes: 1

Views: 781

Answers (1)

ghostCoder
ghostCoder

Reputation: 7655

use the Embed Media plugin which is available.
Just add that plugin. Using that the user can paste the html code in a dialog box and that will be pasted in the editor wherever the cursor was.

Upvotes: 1

Related Questions