Changeset 1449
- Timestamp:
- 2008-01-29 10:56:01 (9 months ago)
- Location:
- FCKeditor/trunk
- Files:
-
- 3 modified
-
editor/_source/internals/fck_gecko.js (modified) (2 diffs)
-
editor/_source/internals/fck_ie.js (modified) (1 diff)
-
_whatsnew.html (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
FCKeditor/trunk/editor/_source/internals/fck_gecko.js
r1188 r1449 46 46 return ; 47 47 } 48 48 49 if ( FCKConfig.ForcePasteAsPlainText ) 49 50 { … … 57 58 else if ( FCKConfig.ShowDropDialog ) 58 59 FCK.PasteAsPlainText() ; 59 } 60 else if ( FCKConfig.ShowDropDialog ) 61 FCKDialog.OpenDialog( 'FCKDialog_Paste', FCKLang.Paste, 'dialog/fck_paste.html', 400, 330, 'Security' ) ; 62 evt.preventDefault() ; 63 evt.stopPropagation() ; 60 61 evt.preventDefault() ; 62 evt.stopPropagation() ; 63 } 64 64 } 65 65 -
FCKeditor/trunk/editor/_source/internals/fck_ie.js
r1122 r1449 105 105 return ; 106 106 } 107 var evt = FCK.EditorWindow.event ; 107 108 108 if ( FCKConfig.ForcePasteAsPlainText ) 109 109 { 110 var evt = FCK.EditorWindow.event ; 111 110 112 if ( FCK._CheckIsPastingEnabled() || FCKConfig.ShowDropDialog ) 111 113 FCK.PasteAsPlainText( evt.dataTransfer.getData( 'Text' ) ) ; 112 } 113 else 114 { 115 if ( FCKConfig.ShowDropDialog ) 116 FCKTools.RunFunction( FCKDialog.OpenDialog, 117 FCKDialog, ['FCKDialog_Paste', FCKLang.Paste, 'dialog/fck_paste.html', 400, 330, 'Security'] ) ; 118 } 119 evt.returnValue = false ; 120 evt.cancelBubble = true ; 114 115 evt.returnValue = false ; 116 evt.cancelBubble = true ; 117 } 121 118 } 122 119 -
FCKeditor/trunk/_whatsnew.html
r1434 r1449 68 68 attached to a shared toolbar among multiple FCKeditor instances are no longer misplaced 69 69 when the editing areas are absolutely or relatively positioned.</li> 70 <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1715">#1715</a>] The ShowDropDialog 71 is now enforced only when ForcePasteAsPlainText = true.</li> 70 72 </ul> 71 73 <p>