linted
This commit is contained in:
parent
53299fc183
commit
433a74a58a
|
@ -81,7 +81,8 @@ const SimplifiedEditor = (props: Props) => {
|
||||||
BubbleMenu.configure({
|
BubbleMenu.configure({
|
||||||
pluginKey: 'textBubbleMenu',
|
pluginKey: 'textBubbleMenu',
|
||||||
element: textBubbleMenuRef(),
|
element: textBubbleMenuRef(),
|
||||||
shouldShow: ({ view, state }) => Boolean(props.onlyBubbleControls && view.hasFocus() && !state.selection.empty)
|
shouldShow: ({ view, state }) =>
|
||||||
|
Boolean(props.onlyBubbleControls && view.hasFocus() && !state.selection.empty)
|
||||||
}),
|
}),
|
||||||
BubbleMenu.configure({
|
BubbleMenu.configure({
|
||||||
pluginKey: 'linkBubbleMenu',
|
pluginKey: 'linkBubbleMenu',
|
||||||
|
|
|
@ -10,6 +10,10 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
.notificationsCounter {
|
.notificationsCounter {
|
||||||
|
@include media-breakpoint-up(md) {
|
||||||
|
left: 1.8rem;
|
||||||
|
}
|
||||||
|
|
||||||
align-items: center;
|
align-items: center;
|
||||||
background-color: #E84500;
|
background-color: #E84500;
|
||||||
border-radius: 0.8rem;
|
border-radius: 0.8rem;
|
||||||
|
@ -25,8 +29,4 @@
|
||||||
position: absolute;
|
position: absolute;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
top: -0.5rem;
|
top: -0.5rem;
|
||||||
|
|
||||||
@include media-breakpoint-up(md) {
|
|
||||||
left: 1.8rem;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -278,7 +278,7 @@ export const EditorProvider = (props: { children: JSX.Element }) => {
|
||||||
toggleEditorPanel,
|
toggleEditorPanel,
|
||||||
countWords,
|
countWords,
|
||||||
setForm,
|
setForm,
|
||||||
setFormErrors,
|
setFormErrors
|
||||||
}
|
}
|
||||||
|
|
||||||
const value: EditorContextType = {
|
const value: EditorContextType = {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user