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
Is your feature request related to a problem? Please describe.
In my Angular 16 project, I encounter an error due to ActiveXObject not being declared, which requires me to add the scripthost library to tsconfig.json to resolve this issue. This step seems unnecessary and is likely due to the way certain features are handled within SunEditor. It would be ideal if the editor could work without requiring this additional library configuration.
Describe the solution you'd like
It would be beneficial if SunEditor could handle the ActiveXObject usage internally or otherwise avoid dependencies that require Angular developers to modify their tsconfig.json with external libraries such as scripthost.
Describe alternatives you've considered
An alternative is to add scripthost in the tsconfig.json file, but this solution is not ideal since it introduces dependencies that seem unrelated to the project itself.
Additional context
This issue might be specific to how SunEditor manages browser objects or types within TypeScript. This adjustment would improve compatibility for Angular 16 users and simplify configuration.
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
In my Angular 16 project, I encounter an error due to
ActiveXObject
not being declared, which requires me to add thescripthost
library totsconfig.json
to resolve this issue. This step seems unnecessary and is likely due to the way certain features are handled within SunEditor. It would be ideal if the editor could work without requiring this additional library configuration.Describe the solution you'd like
It would be beneficial if SunEditor could handle the
ActiveXObject
usage internally or otherwise avoid dependencies that require Angular developers to modify theirtsconfig.json
with external libraries such asscripthost
.Describe alternatives you've considered
An alternative is to add
scripthost
in thetsconfig.json
file, but this solution is not ideal since it introduces dependencies that seem unrelated to the project itself.Additional context
This issue might be specific to how SunEditor manages browser objects or types within TypeScript. This adjustment would improve compatibility for Angular 16 users and simplify configuration.
The text was updated successfully, but these errors were encountered: