1、idea打开javafx项目
2、运行并启动程序,打开一个窗口
3、布局中添加HTMLEditor
4、定位到主程序
5、添加代码
6、查看效果
1、HTMLEditor htmlEditor = new HTMLEditor();