mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-05-04 01:23:32 +09:00
Fix #865 set height of CKEditor container more intelligently
This commit is contained in:
parent
aed5c0fc6a
commit
6a9c82284d
2 changed files with 7 additions and 1 deletions
|
|
@ -143,6 +143,10 @@ function getAutoSavedSrl(ret_obj, response_tags, c) {
|
|||
if(!opts.enableToolbar) instance.config.toolbar = [];
|
||||
});
|
||||
|
||||
instance.on('instanceReady', function(e) {
|
||||
$containerEl.css("min-height", 0);
|
||||
});
|
||||
|
||||
instance.on('paste', function(e) {
|
||||
if (e.data && e.data.dataValue && e.data.dataValue.replace) {
|
||||
e.data.dataValue = e.data.dataValue.replace(/<(iframe|object)\s[^<>]+<\/\1>/g, function(m) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue