Has anyone tried creating a widget for saving tiles using offline-editor.js provided by ESRI (Offline-editor-js )? I am trying to create one but the html code is throwing errors saying "Invalid Template <div>". It should work fine as the whole html is wrapped in one div.