我最近一直在使用sitecake,我喜欢它的内容编辑器的拖放界面。尝试他们网站上的可视化编辑器演示。
我想知道如何构建这样的“本地”脚本来为我的网站管理和创建文章。
我需要的是这样的拖放选项和一个 onClick 输出当前显示的 html 的按钮。
我一直在研究 jQuery DND、可拖动和可放置、HTML5 内容可编辑和就地编辑。
但不幸的是,目前还什么都没有。
有人可以帮我解决这个问题吗?或者至少给我指出正确的方向?
提前致谢。
I have recently been using sitecake, I like the drag and drop interface of it for the content editor. Try the demo on their site for the visual editor.
I am wondering how can I build a 'local' script like this for my managing and creating articles for my site.
What I need is the drag and drop options like this and a button which onClick outputs the html of the current display.
I have been looking into jQuery DND, draggable and droppable, HTML5 contentEditable and edit-inplace.
But unfortunately, nothing yet.
Can someone help me with this? Or altest point me in the right direction?
Thanks in advance.
发布评论
评论(2)
我是 SiteCake 的开发者。 SiteCake的第一个版本是基于GWT和jQuery/jQueryUI Droppable和Draggable开发的。当前版本由 GWT 和 GWT-DnD 库提供支持。
我不确定我是否清楚地理解你关于获取 html 代码的问题。
I am the developer behind SiteCake. The first version of SiteCake was developed based on GWT and jQuery/jQueryUI Droppable and Draggable. The current version is powered by GWT and GWT-DnD library.
I am not sure I understand clearly your question about getting the html code.
查看 jQueryUI Droppable 甚至可拖动。
Droppable 确实能够满足您的要求。您需要做的就是指定放置点,这就是 sitecake 的作用。
Check out jQueryUI Droppable and maybe even Draggable.
Droppable is certainly capable of what you're asking. All you would need to do is specify drop points, which is what sitecake does.