HTML 임포트 설정

2.5.0 버전부터 지원합니다.

불필요한 DIV 제거

peelOffDiv를 true로 설정하면 HTML을 불러올 때 불필요한 DIV가 제거됩니다. (2.7.0 이전 버전 기본값: true, 2.7.0 이후 버전 기본값: false)

// synapeditor.config.js
'editor.buildOption.html': {
    'peelOffDiv': false
},
peelOffDiv: truepeelOffDiv: false
peelOfDiv truepeelOfDiv false

중복 ID 알림 설정

2.7.0 버전부터 지원합니다.

alertDuplicateId를 true로 설정하면 HTML을 불러올 때 중복된 ID가 있을 경우 알림 창이 표시됩니다. (기본값: true)

// synapeditor.config.js
'editor.buildOption.html': {
    'alertDuplicateId': true
},