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.5
[ckeditor.git]
/
_source
/
plugins
/
liststyle
/
plugin.js
diff --git
a/_source/plugins/liststyle/plugin.js
b/_source/plugins/liststyle/plugin.js
index
b1b6df3
..
8e23cca
100644
(file)
--- a/
_source/plugins/liststyle/plugin.js
+++ b/
_source/plugins/liststyle/plugin.js
@@
-43,6
+43,9
@@
For licensing, see LICENSE.html or http://ckeditor.com/license
{
\r
editor.contextMenu.addListener( function( element, selection )
\r
{
\r
+ if ( !element || element.isReadOnly() )
\r
+ return null;
\r
+
\r
while ( element )
\r
{
\r
var name = element.getName();
\r