Komodo Edit X API: resizeWindow & Clipboard

I have an addon which appears to be broken in Komodo Edit version 10. I have resolved the bugs by removing the following:

  • window.sizeToContent()
  • <script type="application/x-javascript" src="chrome://xtk/content/xtk.js" /> and any reference to xtk

This appears to have fixed the issues, but now, of course, my dialog boxes no longer resize automatically and I cannot use the clipboard.

So I have two questions:

  • What is the new way to resize dialog boxes?
  • What is the new way to access the clipboard?

Where can I find other changes to the API? I can’t find any documentation on the new version.

Thanks

Try changing your window markup from

<dialog ...

to

<window class="dialog" ...

Nothing changed in this regard, I see no reason why it would not work. What is the addon you’re working on?