forked from github/cinny
Add ESC btn to toolbar to quickly exit formatting (#1283)
* Add ESC btn to toolbar to quickly exit formatting * add horizontal scroll to toolbar item * make editor toolbar usable in touch device * fix editor hotkeys not working in window * remove unused import
This commit is contained in:
@@ -43,6 +43,7 @@ export const EditorPlaceholder = style([
|
||||
{
|
||||
position: 'absolute',
|
||||
zIndex: 1,
|
||||
width: '100%',
|
||||
opacity: config.opacity.Placeholder,
|
||||
pointerEvents: 'none',
|
||||
userSelect: 'none',
|
||||
@@ -55,9 +56,10 @@ export const EditorPlaceholder = style([
|
||||
},
|
||||
]);
|
||||
|
||||
export const EditorToolbar = style([
|
||||
DefaultReset,
|
||||
{
|
||||
padding: config.space.S100,
|
||||
},
|
||||
]);
|
||||
export const EditorToolbarBase = style({
|
||||
padding: `0 ${config.borderWidth.B300}`,
|
||||
});
|
||||
|
||||
export const EditorToolbar = style({
|
||||
padding: config.space.S100,
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user