Skip to content
This repository was archived by the owner on Jun 2, 2022. It is now read-only.

You claim support for arbitrary embedded content, how exactly would one go about embedding other things than images? #81

Open
miklschmidt opened this issue Mar 24, 2020 · 4 comments
Labels
question Further information is requested

Comments

@miklschmidt
Copy link

Hi!

I've been looking for an extensible rich text editor for react-native that is not simply a tool made for the web and wrapped in a WebView, this seems to fit the bill.

I need to implement stuff like mentions, the idea is that a user can click a button on the toolbar, search for a user and a link to that user would be inserted in the document, like this: @jsamr. Is this possible with typer? If yes, how?

Thanks for the effort you've put into this, i appreciate the quality of the code, i've been trying to understand what is going on, and i'm making progress, but i realize it will take too long for me to figure this out on my own, so i figured i would just ask you instead :)

@miklschmidt miklschmidt added the question Further information is requested label Mar 24, 2020
@jsamr
Copy link
Collaborator

jsamr commented Mar 24, 2020

Hi @miklschmidt! And thanks for the feedback.

It is an important point, you are right. Your use case is an interesting starting point to get there. Right now, the only way to define custom alteration is with custom transformers, but it is not yet documented and not as flexible as I would like. But I am going to work on this this week to answer your need and #74.

@miklschmidt
Copy link
Author

@jsamr Alright, sounds good, i'll keep an eye on it :)

@miklschmidt
Copy link
Author

@jsamr any progress on this? If not, could you maybe provide an example how to go about implementing a custom transformer that adds information to a selection (such as a profileId)?

@jsamr
Copy link
Collaborator

jsamr commented Mar 30, 2020

@miklschmidt Haven't lost track of the task, I'll keep you updated ASAP

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants