I am trying to get summernote (summernote<.>org) to work in an MVC application. Most internet sources say yes. A week later I don’t know. I doubt it work with MVC.
I have tried different versions, different flavors, bs4, bs5, min, lite etc. and the results are mixed. Tried latest version .91 and also earlier versions.
In a standalone html page, the results are better but inconsistent. Sometimes the editor shows but not the toolbar, or the dropdowns for text color, etc. don’t work or they don’t close when a color is selected.
The lite version seems to be the only that comes close to working, but I need the html source to save in a database. It also doesn't close the text color dropdown.
To retrieve the html source, I have tried the $('#summernote').code(); , $('#summernote').summernote('code'); and $('#summernote').html();
All fail with object/reference not found. The .html seems to work outside the MVC environment,
I am hoping for link to a sample application or just a quote that will lead to a eureka moment.
CsharrpCorner Example 1 and CsharrpCorner Example 2 fails with unexpected error.