File tree 2 files changed +3
-2
lines changed
2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change 10
10
<p >{!! old ($column , $value ) ! !} </p >
11
11
</div >
12
12
13
- <input type =" hidden" name =" {{ $name } }" value =" {{ old ($column , $value ) } }" />
13
+ <input id = " input- {{ $id } } " type =" hidden" name =" {{ $name } }" value =" {{ old ($column , $value ) } }" />
14
14
15
15
@include (' admin::form.help-block' )
16
16
Original file line number Diff line number Diff line change @@ -19,6 +19,7 @@ class Editor extends Field
19
19
public function render ()
20
20
{
21
21
$ name = $ this ->formatName ($ this ->column );
22
+ $ id = $ this ->formatName ($ this ->id );
22
23
23
24
$ config = (array ) WangEditor::config ('config ' );
24
25
@@ -39,7 +40,7 @@ public function render()
39
40
Object.assign(editor.customConfig, {$ config })
40
41
41
42
editor.customConfig.onchange = function (html) {
42
- $('input[name= $ name ] ').val(html);
43
+ $('# input- $ id ').val(html);
43
44
}
44
45
editor.create()
45
46
You can’t perform that action at this time.
0 commit comments