Closed BrinegarJ closed 3 years ago
Try changing the folder reference to the font files, they could be trying to access the font file from the wrong location due to your setup.
Thanks Dennis.
I found that if I point to a hosted cdn (below), my code works as expected. So obviously the issue is local to my setup.
<link href="http://cdnjs.cloudflare.com/ajax/libs/summernote/0.8.12/summernote.css" rel="stylesheet">
<script src="http://cdnjs.cloudflare.com/ajax/libs/summernote/0.8.12/summernote.js"></script>
Can anyone provide the proper file location/structure for hosting SummerNote locally?
Sorry for the delay in responding. Where you place the files and folders isn't all the important, as long as you change the references, mainly in the CSS files to where the fonts are located.
Have you solved this problem? I also met
First time looking at summernote for a WYSIWYG editor. Nothing could be found in the existing issues for the issue I am seeing. Hoping somebody out there has seen this.
I installed the DIST folder under my scripts directory in the project. I added the needed references and set the DIV to id="summernote". I added the the initialization script at the end of the body.
The UI starts to render, but I am receiving an error "Invalid or unexpected token" as line 13 in the summernote.css file.
Operating System: Windows 10 (64-bit)
Browser and Version: Chrome Version 79.0.3945.117 (Official Build) (64-bit)
Summernote Version (including which BS3, BS4, Lite or All): BS3
Here is what my screen renders
Here is what Chrome is catching
This is the line that appears to be causing the error in the CSS file
Any help would be great!