-
Notifications
You must be signed in to change notification settings - Fork 148
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Nested Blot? #30
Comments
There are lots of ways to do this depending what you want specifically. What's the use case? |
You have not answered the question about your use case so since I don't know what you are trying to achieve, I don't know if it is correct or not either. With regards to your specific question about keyboard events, that is outside of the scope of Parchment. Parchment is just the data model. You might want to look at Quill for a fuller editor. |
Actually, I want a high customized editor, including blots, modules, themes, based on Quill's system, when I make a new blot, I find that the document about Parchment is not that helpful. Thank you for helping me comprehend the whole library, and I will keep watching about that. 👍 |
I have a similar requirement as @gztchan. In my case, I want to create a document from a JSON file, which has the document structure:
For but I need blots to represent sentences and paragraphs, because there are other useful information belong to these granular level such as the start-time of the sentence, end-time etc...
but I don't know how to insert/add sentenceBlot and paragraphBlot into the quill editor. There are only insertText and insertEmbed APIs available. May you please give me any suggestions on my use case? thanks a lot. |
@jhchen For example, how do I even go about coming up with this simple nesting for iframe using blot:
|
I have the same requirement as @kilgarenone I want to insert something like this, a div wrapper to wrap iframe element to control the size of iframe. However, I have tried my best, I still cannot make it.
Thie followings are my code (using react-quill) :
|
How can i customize a new Blot that:
What I want to do is build different customized Blot to extend the editor.
The text was updated successfully, but these errors were encountered: