diff --git a/module/common/view/kindeditor.html.php b/module/common/view/kindeditor.html.php index 093c35f3cd..a709c6b148 100755 --- a/module/common/view/kindeditor.html.php +++ b/module/common/view/kindeditor.html.php @@ -88,7 +88,8 @@ $uid = uniqid(''); $.extend(options, { items: editorTool, - placeholder: $editor.attr('placeholder') || options.placeholder || '' + placeholder: $editor.attr('placeholder') || options.placeholder || '', + pasteImage: {postUrl: createLink('file', 'ajaxPasteImage', 'uid=' + kuid), placeholder: $editor.attr('placeholder') || noticePasteImg);?>}, }); try diff --git a/module/story/view/create.html.php b/module/story/view/create.html.php index b217129d2b..f11b1bb186 100644 --- a/module/story/view/create.html.php +++ b/module/story/view/create.html.php @@ -164,7 +164,7 @@ story->spec;?> fetch('user', 'ajaxPrintTemplates', 'type=story&link=spec');?> - story->specTemplate) . "'");?> + story->specTemplate . "\n" . $lang->noticePasteImg) . "'");?>