jQuery UI 所见即所得?
我现在使用 CLEditor,但我无法像页面的其余部分一样设置它的样式。那么有没有 jQuery UI WYSIWYG 文本编辑器呢?或者有没有办法使用 jQuery UI 小部件元素来设置 CLEditor 的样式?
I now use CLEditor, but I cannot style it like the rest of the page. So is there a jQuery UI WYSIWYG text editor? Or is there a way to style CLEditor with jQuery UI widget elements?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(5)
可以使用 jquery.cleditor.css 文件设置 CLEditor UI 的样式。编辑器的内部文档还可以使用 docCSSFile 和 bodyStyle 可选参数属性来设置样式。
The CLEditor UI can be styled using the jquery.cleditor.css file. The editor's internal document can also be styled using the docCSSFile and bodyStyle optional parameter properties.
我喜欢 CLEditor 胜过 elrte.org,所以我必须编辑代码。不是最好的解决方案,而是最好看的......
I like CLEditor more than elrte.org, so I had to edit the code. Not the best solution, but the best-looking...
正是出于这个原因,我创建了 RTE。我想要一个轻量级的编辑器,并且 100% 基于 ui,并且支持主题滚轮。我的编辑器使用 themeroller 进行设计,并使用常规 html 来创建 themeroller 中尚不存在的按钮图标。
您会发现此处链接的其他编辑器不使用 themeroller 图标,因此并不是真正的 100% jquery ui。
您可以在这里看到我的编辑器:https://github.com/gcphost/jUIRTE
I created a RTE for this very reason. I wanted an editor that was light weight and had was 100% ui based with themeroller support. My editor uses themeroller for the design and uses regular html to create the button icons that dont exist (yet) in themeroller.
You will find the other editors linked here do not use the themeroller icons and thus are not really 100% jquery ui.
You can see my editor here: https://github.com/gcphost/jUIRTE
它并不完全是轻量级的,但 CKEditor 有一个 Jquery 接口,可以通过使用适配器 js 文件来启用。我在当前的项目中使用它,并且在基本模式下没有任何痛苦。
It's not exactly light-weight but CKEditor has an interface to Jquery that can be enabled by using an adaptor js file. I am using it in my current project and no pain in the basic mode.
我爱上了 jQte 只有 19Kb
I'm in love with jQte just 19Kb