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

Editor: Not displaying content correctly in dialog #11814

Closed
saramcicchi opened this issue Aug 10, 2022 · 0 comments · Fixed by #11850
Closed

Editor: Not displaying content correctly in dialog #11814

saramcicchi opened this issue Aug 10, 2022 · 0 comments · Fixed by #11850
Labels
Type: Bug Issue contains a bug related to a specific component. Something about the component is not working
Milestone

Comments

@saramcicchi
Copy link

Describe the bug

Opening a dialog with an editor that is prepopulated with content does not display the content correctly (the same content is displayed fine when the editor is not in a dialog).

Environment

This is reproducible in every environment I've tested and has been an issue at least since PrimeNG 10.

Reproducer

https://stackblitz.com/edit/primeng-editor-in-dialog-bug

Angular version

14.0.7

PrimeNG version

14.0.0

Build / Runtime

Angular CLI App

Language

ALL

Node version (for AoT issues node --version)

14.15.4

Browser(s)

No response

Steps to reproduce the behavior

In the provided stackblitz:

  1. Notice the initially displayed editor, how the ordered list is shown properly
  2. Click on the "Open Editor In Dialog" button
  3. Notice the editor in the dialog, which has the same content, does not show the ordered list, but instead combines all the list elements together and displays them in a single

    tag upon inspecting the HTML

Expected behavior

The content of an editor in a dialog should be displayed the same as the content of an editor not in a dialog.

@saramcicchi saramcicchi added the Type: Bug Issue contains a bug related to a specific component. Something about the component is not working label Aug 10, 2022
volvachev added a commit to volvachev/primeng that referenced this issue Aug 20, 2022
@cetincakiroglu cetincakiroglu added this to the 14.0.2 milestone Aug 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug Issue contains a bug related to a specific component. Something about the component is not working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants