#8463
Yutaka Emura
Keymaster

You have to save the configuration object.

obj.Save();

before
document.Save(“123”);

Please let me know if you have further questions.
Thank you for using EmEditor!