sibiraj-s / ngx-editor

🖋️ Rich Text Editor for angular using ProseMirror
https://sibiraj-s.github.io/ngx-editor/
MIT License
457 stars 191 forks source link

[Bug]: default icon configuration invalid #538

Open swurzinger opened 7 months ago

swurzinger commented 7 months ago

What happened?

The default icon configuration, which gets active when you call NgxEditorModule.forRoot() (without arguments) is invalid and causes no icons to show up in the editor.

The issue is that it uses the <path>...< /> definitions in icons directly instead of using Icon.get(), which wraps the SVG path accordingly in an <svg>... < /> element.

Version

v17.0.2

Angular Version

v17

What browsers are you seeing the problem on?

all

Willing to submit a PR?

Yes

sibiraj-s commented 6 months ago

Sorry for the delay in response. Can you elaborate the issue a bit more? Also, feel free to raise a PR for review.