Skip to content

Commit 8873145

Browse files
committed
Disable convert_urls option for the wysiwyg field
1 parent b838f38 commit 8873145

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

modules/Cockpit/assets/components.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4384,7 +4384,8 @@ riot.tag2('field-wysiwyg', '<textarea ref="input" class="uk-width-1-1" rows="5"
43844384
"table contextmenu paste"
43854385
],
43864386
toolbar: "undo redo | styleselect | bold italic | alignleft aligncenter alignright alignjustify | bullist numlist outdent indent | table | fontsizeselect forecolor",
4387-
relative_urls: false
4387+
relative_urls: false,
4388+
convert_urls : false
43884389
}, opts.editor || {}, {
43894390

43904391
selector: '#'+this.refs.input.id,

modules/Cockpit/assets/components/field-wysiwyg.tag

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,8 @@
7777
"table contextmenu paste"
7878
],
7979
toolbar: "undo redo | styleselect | bold italic | alignleft aligncenter alignright alignjustify | bullist numlist outdent indent | table | fontsizeselect forecolor",
80-
relative_urls: false
80+
relative_urls: false,
81+
convert_urls : false
8182
}, opts.editor || {}, {
8283

8384
selector: '#'+this.refs.input.id,

0 commit comments

Comments
 (0)