HTML Import Settings
Release 2.5.0 and above.
Strip Unnecessary DIV
Setting peelOffDiv to true strips unnecessary DIVs when loading HTML. (default before v2.7.0: true, default after v2.7.0: false)
// synapeditor.config.js
'editor.buildOption.html': {
'peelOffDiv': false
},
peelOfDiv: true | peelOfDiv: false |
|---|---|
Duplicate ID Alert Setting
Release 2.7.0 and above.
Setting alertDuplicateId to true shows an alert window when there are duplicate IDs when loading HTML. (default: true)
// synapeditor.config.js
'editor.buildOption.html': {
'alertDuplicateId': true
},