开发者

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

It seems that to insert HTML into the source code in 开发者_C百科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?


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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜