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

[livejournal] r20557: LJSV-1854: Some formatting dropped when ...

Committer: vkurkin
LJSV-1854: Some formatting dropped when pasting from MS word to RTE
U   trunk/htdocs/js/ck/config.js
Modified: trunk/htdocs/js/ck/config.js
===================================================================
--- trunk/htdocs/js/ck/config.js	2011-11-17 11:00:51 UTC (rev 20556)
+++ trunk/htdocs/js/ck/config.js	2011-11-17 11:24:33 UTC (rev 20557)
@@ -42,7 +42,6 @@
 	if(jQuery.browser.msie || jQuery.browser.opera) { //show context menu only in internet explorer as it was in previous version of editor
 		config.plugins += 'contextmenu,';
 	}
-
 	config.fullPage = false;
 	config.startupOutlineBlocks = false;
 	config.autoGrow_maxHeight = 400;
@@ -154,9 +153,11 @@
 	config.dialog_backgroundCoverColor = '#ffffff';
 	config.dialog_backgroundCoverOpacity = 0.50;
 
+	config.pasteFromWordRemoveFontStyles = false;
+	config.pasteFromWordRemoveStyles = false;
+
 	config.extraPlugins = 'livejournal';
 	config.protectedSource.push(/<lj-poll-\d+\s*\/?>/gi); // created lj polls;
 	config.protectedSource.push(/<lj-replace name="first_post"\s*\/?>/gi);
-	//config.protectedSource.push(/<lj-repost\s*\/?>/gi);
 
 };

Tags: b_vladi, js, livejournal, vkurkin
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