开发者

jQuery-ui draggable element into CKEditor?

开发者 https://www.devze.com 2023-03-07 02:17 出处:网络
I was testing a different feature, and I somehow, accidentally dropped an image that I had rendered \"draggable\" with jQuery UI, into a CKEditor (jQuery version) window. The source in the editor was

I was testing a different feature, and I somehow, accidentally dropped an image that I had rendered "draggable" with jQuery UI, into a CKEditor (jQuery version) window. The source in the editor was updated accordingly. Serendipity!

But it was like I had just seen a unicorn -- It only happened once, and I was not able to replicate the effect.

Has anyone else been able to get those two tools to work togethe开发者_如何学Cr? If so, what's the trick?


I believe you don't need to make an image "draggable" with jquery to drag it into CkEditor. It works out of the box with any image of the page.

0

精彩评论

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