projects
/
kivitendo-erp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
changelog: weitere Anpassungen seit dem letzten Release erwähnen
[kivitendo-erp.git]
/
js
/
kivi.js
diff --git
a/js/kivi.js
b/js/kivi.js
index
31a56a4
..
5f9360f
100644
(file)
--- a/
js/kivi.js
+++ b/
js/kivi.js
@@
-347,6
+347,14
@@
namespace("kivi", function(ns) {
var editor = CKEDITOR.inline($e.get(0), config);
$e.data('ckeditorInstance', editor);
var editor = CKEDITOR.inline($e.get(0), config);
$e.data('ckeditorInstance', editor);
+ if ($e.hasClass('texteditor-space-for-toolbar'))
+ editor.on('instanceReady', function() {
+ var editor = $e.ckeditorGet();
+ var editable = editor.editable();
+ $(editable.$).css("margin-top", "30px");
+ });
+
+
if ($e.hasClass('texteditor-autofocus'))
editor.on('instanceReady', function() { ns.focus_ckeditor($e); });
};
if ($e.hasClass('texteditor-autofocus'))
editor.on('instanceReady', function() { ns.focus_ckeditor($e); });
};