Revision 29957e79
Von Sven Schöling vor etwa 1 Jahr hinzugefügt
templates/design40_webpages/requirement_spec_text_block/_predefined_text_inserter.js | ||
---|---|---|
24 | 24 |
title_ctrl.val(pt.title); |
25 | 25 |
|
26 | 26 |
if ((pt.text || '') != '') |
27 |
$('#[% id_base %][% text_ctrl_id %]').ckeditorGet().insertHtml(pt.text);
|
|
27 |
$('#[% id_base %][% text_ctrl_id %]').data('ckeditorInstance').setData(pt.text);
|
|
28 | 28 |
|
29 | 29 |
return false; |
30 | 30 |
} |
templates/webpages/requirement_spec_text_block/_predefined_text_inserter.js | ||
---|---|---|
22 | 22 |
title_ctrl.val(pt.title); |
23 | 23 |
|
24 | 24 |
if ((pt.text || '') != '') |
25 |
$('#[% id_base %][% text_ctrl_id %]').ckeditorGet().insertHtml(pt.text);
|
|
25 |
$('#[% id_base %][% text_ctrl_id %]').data('ckeditorInstance').setData(pt.text);
|
|
26 | 26 |
|
27 | 27 |
return false; |
28 | 28 |
} |
Auch abrufbar als: Unified diff
ckeditor5: _predefined_text_inserter Anpassungen für ckeditor5