diff --git a/css/itflow_custom.css b/css/itflow_custom.css index f4a4ac272..c5e6fbd9a 100644 --- a/css/itflow_custom.css +++ b/css/itflow_custom.css @@ -1038,6 +1038,13 @@ a:focus { border-color: var(--itflow-accent, #007bff); box-shadow: 0 0 0 .25rem color-mix(in srgb, var(--itflow-accent, #007bff) 25%, transparent); } +/* TinyMCE also draws its own focus box inside the editor - a fixed blue + (#006ce7) border on .tox-edit-area::before - so on any other theme a blue + box sat inside the theme-coloured ring. The ring above is the one every + input gets, so the inner box goes. */ +.tox:not(.tox-tinymce-inline) .tox-edit-area::before { + display: none; +} /* menus and dropdowns the toolbar opens */ .tox .tox-menu, .tox .tox-collection--list .tox-collection__group {