فهرست منبع

Merge pull request #8700 from overleaf/ii-cm6-source-editor-switch-toggle

[cm6] Prevent hopping to rich text when clicking the source button

GitOrigin-RevId: 2359e157c12026a1c5ceb8b6e40cd45956d75d1d
ilkin-overleaf 4 سال پیش
والد
کامیت
f2e6cf7a3b
1فایلهای تغییر یافته به همراه1 افزوده شده و 0 حذف شده
  1. 1 0
      services/web/frontend/stylesheets/app/editor/toolbar.less

+ 1 - 0
services/web/frontend/stylesheets/app/editor/toolbar.less

@@ -282,6 +282,7 @@
 .toggle-switch-input {
 .toggle-switch-input {
   position: absolute;
   position: absolute;
   opacity: 0;
   opacity: 0;
+  pointer-events: none;
 }
 }
 
 
 .toggle-switch-input:checked + .toggle-switch-label {
 .toggle-switch-input:checked + .toggle-switch-label {