Image saving by the rich text editor

In Advanced rich text editor, i want to save a image, then how to save the source code of that image which is view in menu bar into a variable? 

I want to save below source code into a variable: 

But, When I pass a variable in richTextSaveInto, it save like below:  (length of characters: 247454)

which is too long to save into DB.

So, I want to save the source code which is view in menu bar 

Please anyone suggest !!

  Discussion posts and replies are publicly visible

Parents Reply
  • Here is my code:

    richTextEditorField(
        label: "Advanced Rich Text Editor ",
        labelPosition: "ABOVE",
        height: "AUTO",
        richTextValue: local!tableSaveData,
        richTextSaveInto: {
          local!tableSaveData
       
        },
        isReadOnly: null,
        showMenubar: true,
        includeHTMLlength: false(),
        maxSize: 1400000,
        placeholder: null,
        enableSpellChecker: true,
        showUsageBar: true,
        uploadedImagesDocIds: null,
        exportedPdfId: null,
        enableExportPdf: null
      ),

Children