Got questions, comments, patches, etc.?
Contact Jason Woofenden
gitweb
/
ckeditor.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
vanilla ckeditor-3.4b
[ckeditor.git]
/
_source
/
plugins
/
div
/
plugin.js
diff --git
a/_source/plugins/div/plugin.js
b/_source/plugins/div/plugin.js
index
0714dee
..
158070f
100644
(file)
--- a/
_source/plugins/div/plugin.js
+++ b/
_source/plugins/div/plugin.js
@@
-95,7
+95,7
@@
For licensing, see LICENSE.html or http://ckeditor.com/license
{
\r
editor.contextMenu.addListener( function( element, selection )
\r
{
\r
- if ( !element )
\r
+ if ( !element || element.isReadOnly())
\r
return null;
\r
\r
var elementPath = new CKEDITOR.dom.elementPath( element ),
\r