You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm encountering an issue when trying to use Quill with a custom module in tests. Specifically, I get a TypeError: selection_js_1.default is not a constructor error. This seems related to the handling of modules like selection in Quill.
Steps for Reproduction
Create a new Angular project with Quill as a dependency.
Create a component that uses Quill with custom modules.
Set up a test for this component.
Run the test, and observe the error: TypeError: selection_js_1.default is not a constructor.
Expected Behavior
Quill should properly handle and construct instances of its modules, including selection, without causing errors in the test environment.
Actual Behavior
When running tests, the following error occurs: TypeError: selection_js_1.default is not a constructor. This indicates that Quill's module handling is not functioning as expected in the testing context.
Quill: 2.0.2
Additional Information
I am using a custom TexBlot for handling LaTeX formulas. The issue seems related to Quill’s internal handling of modules, particularly the selection module.
The problem might be connected to how Quill is imported and how its modules are registered or used in the test environment.
A minimal reproducible example and detailed test setup can be provided upon request.
The text was updated successfully, but these errors were encountered:
I'm encountering an issue when trying to use Quill with a custom module in tests. Specifically, I get a TypeError: selection_js_1.default is not a constructor error. This seems related to the handling of modules like selection in Quill.
Steps for Reproduction
Create a new Angular project with Quill as a dependency.
Create a component that uses Quill with custom modules.
Set up a test for this component.
Run the test, and observe the error: TypeError: selection_js_1.default is not a constructor.
Expected Behavior
Quill should properly handle and construct instances of its modules, including selection, without causing errors in the test environment.
Actual Behavior
When running tests, the following error occurs: TypeError: selection_js_1.default is not a constructor. This indicates that Quill's module handling is not functioning as expected in the testing context.
Quill: 2.0.2
Additional Information
I am using a custom TexBlot for handling LaTeX formulas. The issue seems related to Quill’s internal handling of modules, particularly the selection module.
The problem might be connected to how Quill is imported and how its modules are registered or used in the test environment.
A minimal reproducible example and detailed test setup can be provided upon request.
The text was updated successfully, but these errors were encountered: