Vlad Kurkin (b_vladi) wrote in changelog,
Vlad Kurkin
b_vladi
changelog

[livejournal] r19483: LJSUP-9256: Cannot put text into lj-cut

Committer: vkurkin
LJSUP-9256: Cannot put text into lj-cut
U   trunk/htdocs/js/ck/config.js
Modified: trunk/htdocs/js/ck/config.js
===================================================================
--- trunk/htdocs/js/ck/config.js	2011-07-18 04:26:16 UTC (rev 19482)
+++ trunk/htdocs/js/ck/config.js	2011-07-18 04:27:10 UTC (rev 19483)
@@ -5,7 +5,7 @@
 
 CKEDITOR.editorConfig = function(config){
 
-	var ljItems = ['LJUserLink','Image'];
+	var ljItems = ['LJUserLink','LJImage'];
 	if(top.Site.media_embed_enabled){
 		ljItems.push('LJEmbedLink');
 	}
@@ -41,7 +41,7 @@
 		'horizontalrule,' +
 		'htmldataprocessor,' +
 		'iframedialog,' +
-		'image,' +
+		//'image,' +
 		'indent,' +
 		'justify,' +
 		'keystrokes,' +
@@ -112,7 +112,7 @@
 		['Bold','Italic','-','OrderedList','UnorderedList','-','Link','Unlink','-','About']
 	];
 	config.toolbar = 'Full';
-	config.enterMode = 'br';
+	config.enterMode = CKEDITOR.ENTER_BR;
 	config.forceEnterMode = false;
 	config.shiftEnterMode = 'p';
 	config.keystrokes = [

Tags: b_vladi, js, livejournal
Subscribe
  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

  • 0 comments