I have used React as fronted and DRF for API and Django as backend. I have a ckeditor in React and want to upload a image from ckeditor. How can I acheive that
you should create upload adapter for your component, CKEditor has explained its features very good, check it out here and here
also, you can use this package to handle this feature
Related
Is there any way to bundle a React app to run inside another website like a chat widget. Iframe won't work for me since it doesn't allow google auth. I also tried parcel bundler like mentioned in this log rocket blog. But the firebase seems to be not working. Is there any other ways to do this?
A solution to run my react app inside another website without iframe
This post suggests that you can't use react-share to post an image directly from react to twitter inside of a tweet.
Is there another library/method that's available?
I've downloaded React dashboard app and I want to use it inside my laravel inertia application.
I got confused how to merge their files together.
React components should be inside resources/js/Pages in laravel Inertia.
I got confused how to merge react app with laravel inertia app
Here are images of files for each of them.
I would like to know whether it is possible to render RichTextField from Django CKEditor using CKEditor from ckeditor5-react ? As far as I know, we could manually render django field in anyway as long as the name and id is the same as the form field. But I have no idea how do I replicate Django CKEditor using React CKEditor.
Yes, it's possible to use Django CKEditor with Ckeditor5-react. I have done it in the past and it was doable, but I don't recommend using CKeditor with React anymore. The problem with React Ckeditor is that it stores data in HTML format, meaning you have to "dangerously render HTML" in your react virtual dom. There are many libraries that stores data in a JSON format rather than HTML format like CKEditor do, to name some:
Slate Js
Quill
Draft Js
try using them, you can use TextField in Django Model to store your stringified JSON.
I want to create a mobile app in react native with firebase backend. Data should be added from admin panel(in react) and only authenticated users will see that data.how i can achieve that.
Note : - both react native and react app should use same firebase project
Yes it is possible you need to use Firebase auth, Firestore, and any other components you want like media just make sure to make all components public false so anyone can not edit anything.
Then config React-Native and React-Js firebase with the same project.
after that anything you'll from react-js and it'll be shown in React-Native mobile project.