Cannot align text using align buttons in static Toolbar
See original GitHub issueUncaught TypeError: _this.props.setAlignment is not a function
at BlockAlignmentButton._this.activate (bundle.js:19195)
at Object.ReactErrorUtils.invokeGuardedCallback (bundle.js:19888)
at executeDispatch (bundle.js:19672)
at Object.executeDispatchesInOrder (bundle.js:19695)
at executeDispatchesAndRelease (bundle.js:15722)
at executeDispatchesAndReleaseTopLevel (bundle.js:15733)
at Array.forEach (<anonymous>)
at forEachAccumulated (bundle.js:28111)
at Object.processEventQueue (bundle.js:15933)
at runEventQueueInBatch (bundle.js:51468)
Issue Analytics
- State:
- Created 6 years ago
- Reactions:7
- Comments:12 (1 by maintainers)
Top Results From Across the Web
ToolbarItem placement problem: Button text is not centered
The button text in the toolbar is obviously right aligned (The last "m" is closer to the edge than the beginning "c"). I...
Read more >Inline CKEditor toolbar has no alignment buttons for h2 elements
It's impossible to enable align buttons on h2 editable. CKEditor cannot modify editable container, because that change simply wouldn't be ...
Read more >[upstream] Alignment/justify buttons not appearing for ... - Drupal
It's a bug, the toolbar do not sync with input configs. we have an issue with patch for that but I can't find...
Read more >text-align: right doesn't work... - DEV Community
I found out this does not work because Button is enclosed by the parent element, 'Toolbar'. When you use 'text-align', it needs to...
Read more >Align or arrange objects - Microsoft Support
To align a shape, text box, or WordArt, under Drawing Tools, click the Format tab. In the Arrange group, click Align, and then...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I also have this issue. Here is what the code is :
react version is 16.0.0 react-dom is also 16.0.0
The error is the same as above, and appears when clicking on the ‘center’ icon present in the toolbar.
Since we don’t have enough info to reproduce this bug we’ll need to close it. If you disagree please leave a comment and we’ll take it from there.