mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-02-16 12:08:07 +01:00
This commit is contained in:
parent
6d2ff690b2
commit
0d5d63f22a
5 changed files with 14 additions and 2 deletions
|
|
@ -159,6 +159,7 @@ const initEditorName = () => {
|
|||
return;
|
||||
}
|
||||
if (!validateName(inputElement.value)) {
|
||||
inputElement.value = inputElement.value.substring(0, Constants.SIZE_TITLE);
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue