Add list indent/outdent controls on mobile (#5205)
This commit is contained in:
@@ -193,6 +193,13 @@ export default class ListItem extends Node {
|
||||
];
|
||||
}
|
||||
|
||||
commands({ type }: { type: NodeType }) {
|
||||
return {
|
||||
indentList: () => sinkListItem(type),
|
||||
outdentList: () => liftListItem(type),
|
||||
};
|
||||
}
|
||||
|
||||
keys({ type }: { type: NodeType }) {
|
||||
return {
|
||||
Enter: splitListItem(type),
|
||||
|
||||
@@ -299,6 +299,8 @@
|
||||
"Current date": "Current date",
|
||||
"Current time": "Current time",
|
||||
"Current date and time": "Current date and time",
|
||||
"Indent": "Indent",
|
||||
"Outdent": "Outdent",
|
||||
"Could not import file": "Could not import file",
|
||||
"Account": "Account",
|
||||
"Notifications": "Notifications",
|
||||
|
||||
Reference in New Issue
Block a user