Alex-D / Trumbowyg

A lightweight and amazing WYSIWYG JavaScript editor under 10kB
https://alex-d.github.io/Trumbowyg
MIT License
3.97k stars 606 forks source link

Table not generated in Angular project #1409

Open sumeetdnq opened 11 months ago

sumeetdnq commented 11 months ago

Added table plugin as per the documentation, on selecting table size (let's say 4x4), nothing happens. no table is created in the editor, there is no error too in console.

I have added indent plugin too, it's working fine. rest of the features are working.

Description

Angular: v13, v16(stackblitz link below) Trumbowyg: ^2.27.3 jQuery: v3.7.0, v3.3.1 Browsers: all browsers

How to reproduce?

https://stackblitz.com/edit/stackblitz-starters-ivz8lc?file=src%2Fmain.ts

If trumbowyg doesn't load, please make some change in main.ts html (like space, without saving). some bug with stackblitz

hcaz commented 11 months ago

I think this is related to the latest version, downgrading to 2.26.0 works for me. Seems unrelated to angular

sumeetdnq commented 11 months ago

I think this is related to the latest version, downgrading to 2.26.0 works for me. Seems unrelated to angular

Ok, I will try with 2.26.0. It is actually not replicable on demo website, so assuming it's on latest version I thought it could have something to do with Angular.