2
사이드 바를 비활성화하려면 Aloha Editor을 비활성화하십시오. 내가 나를 위해 작동하지 않는 다양한 장소에서 다음 코드를 본 적이 :알로하 편집기 사이드 바 사용 안 함
Aloha.settings = {
sidebar: { disabled: true }
};
을 내가 aloha()
에 후에게 전화를 를 추가하는 경우를, 아무 일도 발생하지 않고 사이드 바는 남아있다. 내가 전에 그것을 를 추가하면 나는 다음과 같은 오류가 요소에 aloha()
전화 : 나는 Aloha.ready
에 내 전화 위의 코드를 이동하는 경우이 모든 Aloha.ready
에서 일어나고 고정되지
Uncaught TypeError: Cannot read property 'getContents' of undefined
. 이 도움이 경우
, 여기에 내가이 <head>
에로드하고있어 파일입니다 : (. 나는 현재 잘못된 느낌 some CSS을 추가 해요 내가 더 좋은 솔루션을 선호하는 것입니다.)
<script src="http://cdn.aloha-editor.org/latest/lib/require.js"></script>
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script>
<script src="http://cdn.aloha-editor.org/latest/lib/aloha.js" data-aloha-plugins="common/ui, common/format, common/list, common/link, common/highlighteditables, common/horizontalruler, common/undo, common/paste"></script>
<link href="http://cdn.aloha-editor.org/latest/css/aloha.css" rel="stylesheet" type="text/css" />
는