function createEditor(container, options) {
  const editor = window.monaco.editor.create(container, options);
  editor.layout();
  return editor;
}
Create the monaco editor.
@param {!HTMLElement} container The container element.
@param {Object} options Monaco editor options.
@returns {monaco.editor.IStandaloneCodeEditor} A monaco editor.