Skip to content
This repository has been archived by the owner on Nov 16, 2021. It is now read-only.

Field content isn't updated when changing in code view #20

Closed
metalcamp opened this issue May 13, 2019 · 1 comment
Closed

Field content isn't updated when changing in code view #20

metalcamp opened this issue May 13, 2019 · 1 comment

Comments

@metalcamp
Copy link

Steps to reproduce:

  1. Go to resource which uses nova-froala-field
  2. Click Create new
  3. Write content into Froala editor
  4. Click save
  5. Click edit on content that was just created
  6. Go to Froala editor, click Code view
  7. Change content (example: add <p>test </p>)
  8. Click save

I would expect content to be changed, but it isn't. It remains the same, as it was on initial load (when clicked on edit, step 5). Not sure if this is intended behavior or it's a bug.

Laravel version: 5.8.16
Nova version: 2.0.3
Nova Froala field version: 2.1.0

@slavarazum
Copy link
Collaborator

Thanks for your report!

But it isn't a bug actually. When you change something in raw code editor, you should switch back to normal mode for applying and reviewing your changes.

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

No branches or pull requests

2 participants