我需要将 Aloha 编辑器固定到特定位置,而不是在整个页面上跳来跳去。
有配置选项吗?有一个用于配置 Aloha 的“附加”选项,但我不知道如何应用,即使它能解决我的问题...
如果没有配置选项,也可能会被黑客覆盖以覆盖位置。
最佳答案
configuration表示您使用“元素”设置来指定要附加到的元素的 ID:
behaviour: 'float', // 'float' (default), 'topalign', 'append'
element: 'my-html-element-id', // use with 'append' behaviour option: HTML DOM ID of the element the FM should get the position from
此外,使用其他选项,如 draggable: false 和 pin: false。
如果这对您不起作用,请打开 bugreport .
关于html - 如何将 Aloha HTML5 编辑器固定到页面上的特定位置?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/11376213/