scratch – Diff between revs 71 and 74
?pathlinks?
Rev 71 | Rev 74 | |||
---|---|---|---|---|
Line 80... | Line 80... | |||
80 | </div> |
80 | </div> |
|
81 | </div> |
81 | </div> |
|
82 | </form> |
82 | </form> |
|
83 | </div> |
83 | </div> |
|
84 | <div class="panel-body" id="editorpanel"> |
84 | <div class="panel-body" id="editorpanel"> |
|
85 | <div id="trumbowyg" style="display: none; font-family: monospace;"> |
85 | <div id="trumbowyg"> |
|
86 | </div> |
86 | </div> |
|
87 | </div> |
87 | </div> |
|
88 | </div> |
88 | </div> |
|
Line 89... | Line 89... | |||
89 | |
89 | |
|
Line 178... | Line 178... | |||
178 | } |
178 | } |
|
179 | var autoSaveTimeoutID = window.setTimeout(saveTextFile, 250); |
179 | var autoSaveTimeoutID = window.setTimeout(saveTextFile, 250); |
|
Line 180... | Line 180... | |||
180 | |
180 | |
|
181 | // Load the editor. |
181 | // Load the editor. |
|
- | 182 | $('#trumbowyg').trumbowyg({ |
||
182 | $('#trumbowyg').trumbowyg({ |
183 | semantic: true, |
|
183 | autogrow: true, |
184 | autogrow: true, |
|
184 | disabled: true |
185 | disabled: true |
|
185 | }).on('tbwchange', () => { |
186 | }).on('tbwchange', () => { |
|
186 | // Clear the value of the URL box because the URL will have changed. |
187 | // Clear the value of the URL box because the URL will have changed. |