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

How to add multiple rich text editors? #387

Open
rosaliechan opened this issue May 15, 2017 · 0 comments
Open

How to add multiple rich text editors? #387

rosaliechan opened this issue May 15, 2017 · 0 comments

Comments

@rosaliechan
Copy link

Hi! I was wondering, how do you add multiple rich text editors on one page? I have the problem where if I have multiple rich text editors, the same text appears in both of the same boxes when I refresh the page, even if I typed different things.
I'm trying to create a rich text editor for a text section and a caption section. Is there something I'm doing wrong in the code below?

$('iframe.wysihtml5-sandbox').contents().find('body').html(data.text.text); $('iframe.wysihtml5-sandbox').contents().find('body').html(data.media.caption);

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant