feat: Add patterns to insert current date and time into doc (#3309)

* feat: Add patterns to insert current date and time into doc

* Add commands to title input too

* lint: Remove console.log
This commit is contained in:
Tom Moor
2022-03-31 19:51:55 -07:00
committed by GitHub
parent 4c0cd3d893
commit c66aca063e
6 changed files with 165 additions and 17 deletions

View File

@@ -13,6 +13,7 @@ import Image from "../nodes/Image";
import Node from "../nodes/Node";
import Paragraph from "../nodes/Paragraph";
import Text from "../nodes/Text";
import DateTime from "../plugins/DateTime";
import History from "../plugins/History";
import MaxLength from "../plugins/MaxLength";
import PasteHandler from "../plugins/PasteHandler";
@@ -39,6 +40,7 @@ const basicPackage: (typeof Node | typeof Mark | typeof Extension)[] = [
PasteHandler,
Placeholder,
MaxLength,
DateTime,
];
export default basicPackage;