-
Notifications
You must be signed in to change notification settings - Fork 59
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
Text color, background text color, image, video, and tables functions aren't working. #23
Comments
Logs/output/the HTML itself would be great! |
Are you using the Example RichEditorProject? The code for actually implementing the video is a customizable feature from a delegate. Take a look how we implement the insert link functionality. Due to different people's different needs, it was not implemented. Here's what you could do:
Unfortunately, it's too tailored to whatever your needs are, so the example doesn't provide. I guess I could provide an example later. In the example app, just append the following: <div><video class='video-js' controls preload='auto' data-setup='{}'><source src='https://test-videos.co.uk/vids/bigbuckbunny/mp4/h264/1080/Big_Buck_Bunny_1080_10s_1MB.mp4'></source></video></div> Hope that helps! |
Thanks @Andrew-Chen-Wang! I'll take a swipe at implementing the video function tomorrow after I wake up. |
You should be able to find the So the way the editor works is that every time you press an icon, we run a swift method that calls runJS in Unless it's private, do you mind creating a PR with whatever you come up with in the example RichEditorProject? You can play around with the example by opening the XCode project under the Example dir. Only if you don't mind tho! And yea np! but also hope that helps :P |
@Andrew-Chen-Wang With your help, I finished all of the functions that weren't working before.
|
@lucychen0103 this is great! Thanks so much! |
What is TextControlleer here? |
@rmi111 It's just a class. You can change the name |
I can click on the icon but the functions aren't working. Does anyone have any insight?
The text was updated successfully, but these errors were encountered: