v13.0.0-rc.2 - Editor Module breaking change ?

UI Components for Angular
Post Reply
Moab0z
Posts: 2
Joined: 18 Nov 2021, 10:31

18 Nov 2021, 10:40

Hello Everyone,


I'm facing a bug that drives me crazy when updgrading primeng to last v13.0.0-rc.2 version.

The following exception is raised on p-editor loading step:

Code: Select all

core.mjs:6495 ERROR TypeError: (quill__WEBPACK_IMPORTED_MODULE_0___namespace_cache || (intermediate value)(intermediate value)) is not a constructor
    at Editor.ngAfterViewInit (primeng-editor.mjs:29)
    at callHook (core.mjs:2533)
    at callHooks (core.mjs:2502)
    at executeInitAndCheckHooks (core.mjs:2453)
    at refreshView (core.mjs:9574)
    at refreshComponent (core.mjs:10674)
    at refreshChildComponents (core.mjs:9299)
    at refreshView (core.mjs:9553)
    at refreshEmbeddedViews (core.mjs:10628)
    at refreshView (core.mjs:9527)
Nothing changed on my side between last primeng version, and I successfully used the native quill integration to ensure the JS & CSS are still correctly embedded:

Code: Select all

    import Quill from 'quill';

    const myQuill = new Quill('#quill', {
      theme: 'snow'
    });
Any help please ? :)

zornic
Posts: 71
Joined: 09 Dec 2017, 10:12

20 Nov 2021, 09:34

Hi,

do you have a solution yet? i have the same problem :-(

Moab0z
Posts: 2
Joined: 18 Nov 2021, 10:31

22 Nov 2021, 14:53

Hello Zornic,

I'm still facing the issue, I had great hopes with this forum...

Unfortunately in the meantime I had to remove this module and use https://www.npmjs.com/package/ngx-quill instead...

Let me know if you solve this issue please

zornic
Posts: 71
Joined: 09 Dec 2017, 10:12

25 Nov 2021, 07:22

Hi Moab0z,

the Bug is fixed in the current Version 13.

Post Reply

Return to “PrimeNG”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 13 guests