Replies: 1 comment 8 replies
-
If you need to add the token for initialText, you will need to use the dart HTML package: https://pub.dev/packages/html With this you can parse the HTML contents, extract the image nodes, change the URL to add the token to the URL, and then convert back to a string. Finally pass the converted string into initialText and it should work. |
Beta Was this translation helpful? Give feedback.
8 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello everyone! I have the following problem:
. The server requires an authentication token in the header, since by default the token is not transmitted, the image cannot be uploaded. I thought I could use the Callback function onImageLinkInsert or onImageUploadError, but they don't respond to my text. How can I implement uploading an image with the right header?
In initialText I pass the html text
Beta Was this translation helpful? Give feedback.
All reactions