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

div binding not showing initial value #14

Open
abram27 opened this issue Jan 10, 2020 · 0 comments
Open

div binding not showing initial value #14

abram27 opened this issue Jan 10, 2020 · 0 comments

Comments

@abram27
Copy link

abram27 commented Jan 10, 2020

When I change the demo to bind to a div and set html to an initial value it doesn't show the initial value in the editor. Works on the text area binding.

var viewModel = {
    html: ko.observable( '<b>test</b>' ),
    options: {
      // disable wrapping content with paragraphs
      // instead <br> will be used
      enter: FroalaEditor.ENTER_DIV,
      theme: 'gray',
  }
<div data-bind="froala: html, froalaOptions: options"></div>
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