-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
🚀 - Documentation on how to use TUI_ATTACH_FILES_LOADER (TuiEditorTool.Attach) #1016
Comments
+1 |
I will take it on Monday |
Thank you @splincode In the meantime, I made some progress. I read part of the source code of the component and managed to get the functionality active and without compiling errors. Nevertheless, after activating the tools "Image Upload" and "Attachments Upload" (TuiEditorTool.Img, TuiEditorTool.Attach), I select some files (via file browser) and upload them, but nothing happens in the editor area... nothing is added or presented when using the attachment tools. The Image tool / code is working as expected and the image is presented in the editor. The TUI_IMAGE_LOADER seems to need a string as return in the adapter. Below is the source code I have at the moment: Config TOKEN and providers in main.ts:
Uploader Service and Upload Adapters
|
Description
When using with tool TuiEditorTool.Attach, after we select a file a console error is presented:
tinkoff-tui-editor-components-toolbar.js:677 Assertion failed: Please provide TUI_ATTACH_FILES_LOADER
When searching the documentation, on how to setup TUI_ATTACH_FILES_LOADER there's no examples or reference to TUI_ATTACH_FILES_LOADER token.
The text was updated successfully, but these errors were encountered: