问题标签 [aloha-editor]
For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.
javascript - Aloha Editor 禁用图像裁剪
如何禁用工具栏中的裁剪按钮以除 vis css 之外的图像插件?配置不起作用。
javascript - Programmatically insert images with the aloha editor
I want to include images in an aloha editable after a drop
event, thus not using the toolbar button.
While some aloha commands may be executed programmatically, there is not so much doc about it and one must look into the code.
With the debugger i found that the relevant function is here so now i would go for copying the insertImg
function body somewhere in my code and build my function.
On the other hand it would be much cleaner to reuse that code calling something like
In a way similar to how it is done here. Is it possible to do such a thing?
jquery - Aloha 使用现有的 jQuery
嘿,我正在尝试将 Aloha-Editor 集成到我的 Yii 框架中,但我有一个小问题。Yii 给了我一个 jQuery (v 1.8.3) 的实例,Aloha 包括了 jQuery (v 1.7.2)。现在我想给 Aloha 来自 Yii 的 jQuery。我仍然尝试过本指南,但它不起作用。我希望你能帮助我。
我希望你能帮助我解决这个问题。
aloha-editor - 如何从 aloha 编辑器中删除图像?
我想删除 aloha-editor 中的图像处理程序,但我不知道如何。我尝试使用 settings.contenthandler.allows 但它不起作用。
javascript - ember-app-kit 和 require.js
我正在尝试将 aloha 编辑器集成到 ember-app-kit 应用程序中。Aloha 使用 require.js 加载其依赖项。我将 aloha 文件夹包含在 ember-app-kit 的供应商目录中。当站点开始加载时,它抱怨 require.config 未定义(我在 Chromium 控制台中看到了)。我认为这是因为 ember-app-kit 加载其模块的方式,但这只是一个猜测。这应该可行还是不能混合使用 ES6 和 require.js?
最好的问候格雷格
javascript - 如何在 aloha 编辑器中添加代码标签...?
我想在我的 aloha 编辑器中添加代码标签。谁能告诉我如何将“代码”添加到 aloha 编辑器
javascript - Aloha Editor:向工具栏和内容添加新样式
如何将自定义样式添加到 aloha 编辑器。
我有一个文本块...对于该文本,我想为该文本块添加一些背景颜色和额外的标记。
例如。
考虑这是一个文本块,它有一些背景颜色......像这样我想将自定义样式添加到 aloha editor.pls 解释。
drag-and-drop - 将拖放功能集成到 Aloha Editor HTML5
我正在为我的学校项目使用 Aloha 编辑器,我希望有人可以帮助我将拖放功能集成到项目中。我找到了这个页面,但它们的解释并不具体,因为我不知道在哪里放置一些代码行。
javascript - 带有插件块的 Aloha 编辑器 IE8 错误
对于Plugin Block的一个错误,我需要帮助。
我有两个带Aloha的编辑器,我在第一个编辑器中定义一个 Block(span),最后我想将此块拖放到第二个编辑器,我可以做到,但是在IE8中出现此错误后:
JScript:“控制台”未定义
而且编辑的行为很奇怪。
我试图在谷歌中找到解决方案,但我没有运气。
有人可以帮我吗?