Skip to content
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

fix extension editor components #66

Merged

Conversation

sahil-shubham
Copy link
Member

@sahil-shubham sahil-shubham commented May 21, 2022

In this PR

  • rendered editor components inside styleSlot div inside shadow dom
    • Fixed tag combobox
    • Fixed Ilink combobox
    • Fixed Balloon Toolbar
  • Fixed z-index of all editor components to make them render on sputlit not behind

ISSUE

  • wrong position of combobox

Signed-off-by: Sahil Shubham [email protected]

@linear
Copy link

linear bot commented May 21, 2022

WD-1223 [BUG] Editor components render behind sputlit

Describe the bug

All the editor components render behind the template, it's not just an issue of z-index but now that the whole extension is in a shadow dom, the styled component root is inside the shadow root. Resulting in not only the editor components being behind the sputlit but also not inheriting anything from theme.

Expected Behaviour

The editor components should render and work properly. The editor components include:

  • The balloon toolbar
  • The tag combobox
  • The ilink combobox
  • The link component

Screenshots

If applicable

Additional Context

Any additional things that might help gain context of the bug

@sahil-shubham sahil-shubham changed the title [WIP] fix extension editor components fix extension editor components May 24, 2022
Signed-off-by: Sahil Shubham <[email protected]>
@sahil-shubham sahil-shubham merged commit 4b83220 into main May 24, 2022
manavagr1108 pushed a commit that referenced this pull request Jun 20, 2022
#66

* passed styleSlot as balloon toolbar portal element;

Signed-off-by: Sahil Shubham <[email protected]>

* WIP editor components appear on top now; but wrong position;

Signed-off-by: Sahil Shubham <[email protected]>

* mex-editor v0.5.0;

Signed-off-by: Sahil Shubham <[email protected]>
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