mirror of
https://github.com/ianstormtaylor/slate.git
synced 2025-08-22 23:12:52 +02:00
Normalize the whole document in benchmarks
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
run(state) {
|
run(state) {
|
||||||
return state.transform().normalize().apply()
|
return state.transform({ normalized: false }).normalize().apply()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@@ -1,6 +1,6 @@
|
|||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
run(state) {
|
run(state) {
|
||||||
return state.transform().normalize().apply()
|
return state.transform({ normalized: false }).normalize().apply()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@@ -1,6 +1,6 @@
|
|||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
run(state) {
|
run(state) {
|
||||||
return state.transform().normalize().apply()
|
return state.transform({ normalized: false }).normalize().apply()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user