Skip to content

Patch autosave issue caused by summernote issue / Cleanup hacky code#24

Open
daniellmorris wants to merge 4 commits into
mpowaga:masterfrom
daniellmorris:master
Open

Patch autosave issue caused by summernote issue / Cleanup hacky code#24
daniellmorris wants to merge 4 commits into
mpowaga:masterfrom
daniellmorris:master

Conversation

@daniellmorris

Copy link
Copy Markdown

This patches an issue with autosave. When i would highlight text and then change font size autosave would stop working. The value was not being updated from summernote. Now I force the value to be set before triggering a change that autform will detect.

Use onRendered instead of rendered = function() {}
Remove hacky code and detect data context change the right way.

Add comment explaining why we are setting the value field
Make so there is no error if template is added directly as a template without the use of autoform
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

Successfully merging this pull request may close these issues.

1 participant