You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// Sorta ugly hack: TinyMCE stores its date in the DOM. CodeMirror stores state in external structs. We need to update the CodeMirror state, but not overwrite the DOM with this "new" state, since the DOM is already updated. So, signal that this "update" is already done.
590
+
// Sorta ugly hack: TinyMCE stores its date in the DOM. CodeMirror stores
591
+
// state in external structs. We need to update the CodeMirror state, but
592
+
// not overwrite the DOM with this "new" state, since the DOM is already
593
+
// updated. So, signal that this "update" is already done.
// Is this range contained within this doc block? If the ranges also contains element outside it, then don't capture focus. TODO: not certain on the bounds -- should I use \<= or \<, etc.?
631
+
// Is this range contained within this doc block? If
632
+
// the ranges also contains element outside it, then
633
+
// don't capture focus. TODO: not certain on the
634
+
// bounds -- should I use <= or <, etc.?
628
635
if(
629
636
main_selection.from<from||
630
637
main_selection.to>main_selection.to
631
638
){
632
639
return;
633
640
}
634
641
635
-
// Ensure we have a valid dom. This also checks for undefined.
642
+
// Ensure we have a valid dom. This also checks for
0 commit comments