Skip to content

Commit d642c0a

Browse files
authored
Merge pull request #5707 from nucleogenesis/5258-rte--dynamic-width
Replace hardcoded toolbar breakpoints with KListWithOverflow
2 parents 4236e7d + fd0cb4d commit d642c0a

6 files changed

Lines changed: 255 additions & 545 deletions

File tree

contentcuration/contentcuration/frontend/shared/views/TipTapEditor/TipTapEditor/TipTapEditor.vue

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -183,12 +183,11 @@
183183
};
184184
185185
onMounted(() => {
186-
// capture
187-
document.addEventListener('click', handleClickOutside, true);
186+
document.addEventListener('click', handleClickOutside);
188187
});
189188
190189
onUnmounted(() => {
191-
document.removeEventListener('click', handleClickOutside, true);
190+
document.removeEventListener('click', handleClickOutside);
192191
});
193192
194193
const getMarkdownContent = () => {

0 commit comments

Comments
 (0)