We have our own custom FLEXIcontent Editor plugin - Visual Editor.
We're looking for a way to save the content of this field only rather than applying the full FLEXIcontent save as it would save the editor lots of time.
But we're stuck as we can update the plugin field in the DB, but when we hit FLEXIcontent Save and Close it wipes the data and replaces it with the old code.
We create a section:
DATA IN FLEXIcontent is EMPTY
DATA IN DB is EMPTY
We open our editor and save content with the FLEXIcontent equivalent of APPLY
DATA IN FLEXIconteny is added
DATA IN DB is added by FLEXIcontent
The above method works.
We make changes in content with the editor & use our own save to save only the field content:
DATA In FLEXIcontent is OLD
DATA in DB is updated
Then we hit save + close in FLEXIcontent, and the old data overwrites the one saved in the DB. So - we can't figure out a way to save only the field.
See this works until we hit the save and close:
So, we can update the database field, but when we click APPLY in FLEXIcontent the old data gets submitted, and the new data goes missing.
How can we resolve this?