-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
How to edit some content after loading it by mEditor.loadData(someData)? thnks #228
Comments
I am also facing the same issue. After calling the mEditor.loadData() method, I am not able to edit the loaded data. |
Can anyone help me with this? It's really a very emerging issue right now. |
Thanks in Advance... |
@boby1975 Can you please help me with this part? |
Use richEditor.setHtml(htmlString) |
@boby1975 yes I have used the richEditor.setHtml(htmlString) method. But still, I am not able to focus on the Editor after display the data. Is there anything I`m missing? |
Try this richEditor.setInputEnabled(true) |
@boby1975 I have used the following methods to enable the Editor View after loading the data. |
@boby1975 Thanks for your help... |
@boby1975 I need one more help from you... |
may be this helps
|
You can insert image by url and base64 as well when editor has focus or base64 image PS |
@boby1975 Do I need to append "data:image/png;base64," this string with base64 data string in richEditor.insertImage(imageBase64, "fileName") method? |
Yes. See my working example above |
@boby1975 I have prepared base 64 String with appending "data:image/png;base64,. But still, HTML not loaded on the preview. IF I am using a local path for displaying an image, It will load the image..but at the same time, we can`t see those images on the server or iOS. |
@boby1975 Can you please help me with my previous comment? |
@boby1975 I have used base64 image |
For Base64, use this function(loadDataWithBaseURL). but it is slow in loading. |
@vikas-jain-plutus were you able to solve the base64 load issue? I'm in a similar boat cause my app needs to load image as base64 as well. |
No description provided.
The text was updated successfully, but these errors were encountered: