mirror of
https://github.com/codex-team/editor.js
synced 2026-03-15 23:25:47 +01:00
empty initial data
This commit is contained in:
parent
b2a32f34f9
commit
4e474a24b4
3 changed files with 3 additions and 7 deletions
|
|
@ -937,9 +937,7 @@ module.exports = function () {
|
|||
*/
|
||||
var initialBlock = {
|
||||
type: config.initialBlock,
|
||||
data: {
|
||||
text: null
|
||||
}
|
||||
data: {}
|
||||
};
|
||||
|
||||
this.config.holderId = config.holderId;
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
|
|
@ -152,9 +152,7 @@ module.exports = class CodexEditor {
|
|||
*/
|
||||
let initialBlock = {
|
||||
type : config.initialBlock,
|
||||
data : {
|
||||
text : null
|
||||
}
|
||||
data : {}
|
||||
};
|
||||
|
||||
this.config.holderId = config.holderId;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue