tinymce.full.js
function save() {
      var value, data = '';

      // localStorage can be disabled on WebKit/Gecko so make a dummy storage
      if (!hasOldIEDataSupport) {
        return;
      }

      for (var key in items) {
        value = items[key];
        data += (data ? ',' : '') + key.length.toString(32) + ',' + key + ',' + value.length.toString(32) + ',' + value;
      }

      storageElm.setAttribute(userDataKey, data);

      try {
        storageElm.save(userDataKey);
      } catch (ex) {
        // Ignore disk full
      }

      updateKeys();
    }
function save() {
      var value, data = '';

      // localStorage can be disabled on WebKit/Gecko so make a dummy storage
      if (!hasOldIEDataSupport) {
        return;
      }

      for (var key in items) {
        value = items[key];
        data += (data ? ',' : '') + key.length.toString(32) + ',' + key + ',' + value.length.toString(32) + ',' + value;
      }

      storageElm.setAttribute(userDataKey, data);

      try {
        storageElm.save(userDataKey);
      } catch (ex) {
        // Ignore disk full
      }

      updateKeys();
    }
function save ( ) { var value , data = '' ; // localStorage can be disabled on WebKit/Gecko so make a dummy storage if ( ! hasOldIEDataSupport ) { return ; } for ( var key in items ) { value = items [ key ] ; data += ( data ? ',' : '' ) + key . length . toString ( 32 ) + ',' + key + ',' + value . length . toString ( 32 ) + ',' + value ; } storageElm . setAttribute ( userDataKey , data ) ; try { storageElm . save ( userDataKey ) ; } catch ( ex ) { // Ignore disk full } updateKeys ( ) ; }
Saves the items structure into a the userData format.
Saves the items structure into a the userData format .