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
},
<table> <thead> <tr><th><code>peelOfDiv: true</code></th><th><code>peelOfDiv: false</code></th></tr> </thead> <tbody> <tr> <td>

peelOfDiv true

</td> <td>

peelOfDiv false

</td> </tr> </tbody> </table>

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
},