mirror of
https://github.com/ueberdosis/tiptap.git
synced 2025-01-18 06:03:22 +08:00
demos: fix parsing url query
This commit is contained in:
parent
a0e5eac9cc
commit
cc586ce036
@ -200,8 +200,8 @@ export default {
|
||||
},
|
||||
|
||||
fromString(value) {
|
||||
if (typeof value !== 'string') {
|
||||
return value
|
||||
if (value === null) {
|
||||
return true
|
||||
}
|
||||
|
||||
if (value.match(/^\d*(\.\d+)?$/)) {
|
||||
|
Loading…
Reference in New Issue
Block a user