X-Git-Url: https://jasonwoof.com/gitweb/?a=blobdiff_plain;f=_source%2Fplugins%2Fpreview%2Fplugin.js;h=a31ebfad398bda0642ede38aadcc448316e6495f;hb=4e70ea24db840898be8cc21c950363a52a2a6aba;hp=dd53d4396ecd48f68a5db6a07a832e7b28e1ced2;hpb=941b0a9ba4e673e292510d80a5a86806994b8ea6;p=ckeditor.git diff --git a/_source/plugins/preview/plugin.js b/_source/plugins/preview/plugin.js index dd53d43..a31ebfa 100644 --- a/_source/plugins/preview/plugin.js +++ b/_source/plugins/preview/plugin.js @@ -1,5 +1,5 @@ /* -Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved. +Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */ @@ -13,6 +13,7 @@ For licensing, see LICENSE.html or http://ckeditor.com/license { modes : { wysiwyg:1, source:1 }, canUndo : false, + readOnly : 1, exec : function( editor ) { var sHTML, @@ -24,7 +25,7 @@ For licensing, see LICENSE.html or http://ckeditor.com/license { sHTML = editor.getData() .replace( //, '$&' + baseTag ) - .replace( /[^>]*(?=<\/title>)/, editor.lang.preview ); + .replace( /[^>]*(?=<\/title>)/, '$& — ' + editor.lang.preview ); } else {