-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
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
Upload adapter for inlining images using base64 URLs #1378
Comments
@f1ames will be able to help with how to write it |
I created a snippet with @Reinmar I can transform it into a plugin or add to existing one? (I think it could be useful for people without upload which still would like to preserve images). The |
TBH I'm for making it a guide section first, especially that the code is very short and I've never seen anyone requesting this kind of feature. We could create 2 sub-sections under this one https://ckeditor5.github.io/docs/nightly/ckeditor5/latest/framework/guides/deep-dive/upload-adapter.html#implementing-a-custom-upload-adapter like "Upload to the server" (with the current one) and "Base64–encoded inline content" (with the new one). |
Hello everyone. How do I set up this upload adapter for inlining images on my angular project? I'm using CKEditor5. |
is there an example to use Base64UploadAdapter or any documentation? |
@manyaml see the first gist from this #1378 (comment). |
@f1ames hi thank you for sharing the gist from #1378(comment) I can not put it in And I do not think we can use so I have to do something like this
correct me if I am wrong, or did I miss something? |
Feature: Introduced the Base64 image upload adapter. Closes ckeditor/ckeditor5#1378.
Docs: Added a short note about the Base64 image upload adapter in the "Image upload overview" guide (see #1378).
Is this a bug report or feature request? (choose one)
🆕 Feature request
📃 Other details that might be useful
It should be fairly easy (if not trivial) to write a simple upload adapter which inlines files as base64 encoded URLs.
We might either release it (even as a part of ckeditor5-upload, because it's so generic) or simply keep in the docs as a snippet. @oleq will be working on a deep dive guide on how to write custom upload adapters and this can be one of the options shown there (the other should be a normal upload adapter).
The text was updated successfully, but these errors were encountered: