fnp
/
fnpeditor.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
documentCanvas - removing yellow "glow" around contenteditable element in Chrome
[fnpeditor.git]
/
modules
/
visualEditor.js
diff --git
a/modules/visualEditor.js
b/modules/visualEditor.js
index
c30c282
..
65de452
100644
(file)
--- a/
modules/visualEditor.js
+++ b/
modules/visualEditor.js
@@
-278,6
+278,7
@@
return function(sandbox) {
var view = this;
\r
this.node.find('#rng-visualEditor-sidebarButtons a').click(function(e) {
\r
e.preventDefault();
\r
var view = this;
\r
this.node.find('#rng-visualEditor-sidebarButtons a').click(function(e) {
\r
e.preventDefault();
\r
+ e.stopPropagation();
\r
var target = $(e.currentTarget);
\r
if(!target.attr('data-content-id'))
\r
return;
\r
var target = $(e.currentTarget);
\r
if(!target.attr('data-content-id'))
\r
return;
\r