jQuery-ui 可拖动元素到 CKEditor 中?
我正在测试一个不同的功能,不知何故,我不小心将使用 jQuery UI 渲染为“可拖动”的图像放入 CKEditor(jQuery 版本)窗口中。编辑器中的源代码已相应更新。机缘巧合!
但这就像我刚刚看到了一只独角兽——只发生过一次,而且我无法复制这种效果。
还有其他人能够让这两个工具一起工作吗?如果是的话,有什么技巧呢?
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 together? If so, what's the trick?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我相信你不需要用 jquery 使图像“可拖动”来将其拖到 CkEditor 中。它开箱即用,适用于页面的任何图像。
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.