[front-end] fix htmlwidget's sceditor