mirror of
https://github.com/ueberdosis/tiptap.git
synced 2025-08-06 13:38:49 +08:00
fix set name bug for collab demo
This commit is contained in:
parent
8df88408fa
commit
14b7c03efa
@ -109,7 +109,7 @@ export default {
|
|||||||
|
|
||||||
methods: {
|
methods: {
|
||||||
setName() {
|
setName() {
|
||||||
const name = window.prompt('Name')
|
const name = (window.prompt('Name') || '')
|
||||||
.trim()
|
.trim()
|
||||||
.substring(0, 32)
|
.substring(0, 32)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user