-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Add/365 freeform block #880
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
Merged
Merged
Changes from 1 commit
Commits
Show all changes
17 commits
Select commit
Hold shift + click to select a range
3e9d958
Basic freeform block
tiny-james 9a893fd
Re-add unknown type handler; remove console logs; cleanup
tiny-james d3a6292
Replaced spaces with tabs
tiny-james 3c56919
Merge branch 'master' into add/365-freeform-block
tiny-james d95a968
Merge branch 'master' into add/365-freeform-block
tiny-james 73984d0
Avoid outputting internal values in serialized form
tiny-james ace3c3c
Update core-freeform serialization test
tiny-james 4e37bd5
Merge branch 'master' into add/365-freeform-block
tiny-james c40f184
Moved internal state out of attributes into react component private s…
tiny-james d0ccb06
Initialized some state
tiny-james ff25725
Merge branch 'master' into add/365-freeform-block
tiny-james 9029f09
Merge branch 'master' into add/365-freeform-block
tiny-james 28fad95
Try to hook into TinyMCE button state
tiny-james 30a0fb6
Merge branch 'master' into add/365-freeform-block
tiny-james c49d9a1
Initilize alignment controls so the button states can be rendered
tiny-james 58c4735
Reorganise code
tiny-james 9d61284
Set state based on previous state correctly
tiny-james File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Re-add unknown type handler; remove console logs; cleanup
- Loading branch information
commit 9a893fde01fac71f71438af229a3e9cd6fb9973a
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Like @nylen mentioned, we shouldn't use
setAttributesfor "temporary" state that is not going to be persisted in the block output markup. We should use local state for this (theedithere can be a regular React Component).You'll be able to access the local state in the controls if you embed the controls inside the
editfunction (see #830)