[PAGES-174] Client-side API to request green Editbar creation Created: 01/Apr/19 Updated: 18/Nov/19 Resolved: 15/Oct/19 |
|
| Status: | Closed |
| Project: | Magnolia pages module |
| Component/s: | None |
| Affects Version/s: | 5.7.1 |
| Fix Version/s: | 6.2 |
| Type: | Story | Priority: | Major |
| Reporter: | Christopher Zimmermann | Assignee: | Robert Šiška |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | 0d | ||
| Time Spent: | 1d 6h 43m | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Template: |
|
||||||||
| Acceptance criteria: |
Empty
|
||||||||
| Task DoD: |
[ ]*
Doc/release notes changes? Comment present?
[ ]*
Downstream builds green?
[ ]*
Solution information and context easily available?
[ ]*
Tests
[ ]*
FixVersion filled and not yet released
[ ] 
Architecture Decision Record (ADR)
|
||||||||
| Release notes required: |
Yes
|
||||||||
| Documentation update required: |
Yes
|
||||||||
| Date of First Response: | |||||||||
| Epic Link: | SPA Editor | ||||||||
| Sprint: | SPA Editor 3, SPA Editor 4, SPA Editor 7, SPA Editor 8 | ||||||||
| Story Points: | 8 | ||||||||
| Description |
|
User story:
Technical notes:
Currently the page editor automatically runs the editbar creation code as soon as the page loads, however a SPA might not have loaded yet which means that editbars will not be properly created. Furthermore a SPA might dynamically change its DOM revealing new editing components, but they cannot be edited because there is no editbars created for them. Acceptance criteria:
|
| Comments |
| Comment by Bartosz Staryga [ 11/Jul/19 ] |
|
If we assume this is only run inside magnoliaAuthor, and inside magnoliaAuthor preview is always in iframe, how about simple `parent.postMessage` to trigger the js creating the bars? |