Skip to content
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

[QUESTION] How to give input as manual html string and get output in editor as formatted text #242

Closed
Dharanipalani opened this issue Apr 1, 2022 · 1 comment
Labels
question Further information is requested

Comments

@Dharanipalani
Copy link

Type question here.
Hi @tneotia,

I have two questions.
Query1 Whether any way to give input as HTML string and get output as processed formatted text in the editor. I have checked the example, we are calling the toggleCodeView method. But this toggles the text in the editor to HTML and vice versa. But, I need to manually pass the HTML text as input and need to get the formatted text as output in the editor.

Query2 There are only 3 types of font family and a few for font size. Is it possible to use various different kinds of fonts and font sizes?

@Dharanipalani Dharanipalani added the question Further information is requested label Apr 1, 2022
@Dharanipalani Dharanipalani changed the title [QUESTION] [QUESTION] How to give input as manual html string and get output in editor as formatted text Apr 1, 2022
@tneotia
Copy link
Owner

tneotia commented Apr 6, 2022

Query1 - not sure what you mean, you can definitely provide an HTML string in the initialText parameter, this will be loaded into the editor when it starts up

Query2 - see #59

@tneotia tneotia closed this as completed Oct 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants