Skip to content

Commit 79d0697

Browse files
committed
Can now override sceditor options on a per-instance basis.
1 parent 786406b commit 79d0697

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/editors/string.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -334,7 +334,7 @@ JSONEditor.defaults.editors.string = JSONEditor.AbstractEditor.extend({
334334
emoticonsEnabled: false,
335335
width: '100%',
336336
height: 300
337-
},JSONEditor.plugins.sceditor);
337+
},JSONEditor.plugins.sceditor,self.options.sceditor_options||{});
338338

339339
window.jQuery(self.input).sceditor(options);
340340

0 commit comments

Comments
 (0)