mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-05-03 10:00:07 -04:00
Set Trailing Cmma to (#525)
This commit is contained in:
parent
25202aec11
commit
ee68af0fd3
53 changed files with 352 additions and 350 deletions
|
@ -22,7 +22,7 @@ export function textWysiwyg({
|
|||
y,
|
||||
strokeColor,
|
||||
font,
|
||||
onSubmit
|
||||
onSubmit,
|
||||
}: TextWysiwygParams) {
|
||||
// Using contenteditable here as it has dynamic width.
|
||||
// But this solution has an issue — it allows to paste
|
||||
|
@ -45,7 +45,7 @@ export function textWysiwyg({
|
|||
padding: "4px",
|
||||
outline: "transparent",
|
||||
whiteSpace: "nowrap",
|
||||
minHeight: "1em"
|
||||
minHeight: "1em",
|
||||
});
|
||||
|
||||
editable.onkeydown = ev => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue