Last post Oct 03, 2019 01:57 AM by marco1892
Sep 29, 2019 05:02 PM|marco1892|LINK
I am using summernote text editor in my asp.net core project.
The editor is well displayed and i can write and save, load images....etc.
the probem is in the font size and font name.
if i select a size for my text for example 12, the control seems to be locked after that so i can't change the size again. the same thing hapens for fontfamily, but all the other controls works fine.
any one has faced this problem?
Rhank you for any help.
Sep 30, 2019 02:17 AM|Yongqing Yu|LINK
According to your description, I tested it using the online summernote text editor, and everything worked well.
I hope you can confirm that the JS and CSS files you quoted are correct.
If they are still unresolved, please provide us with the detailed code of summernote text editor, which will help us solve your issue more easily.
Here is my code:
<!-- include libraries(jQuery, bootstrap) -->
<link href="http://netdna.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.css" rel="stylesheet" />
<!-- include summernote css/js -->
<link href="http://cdnjs.cloudflare.com/ajax/libs/summernote/0.8.12/summernote.css" rel="stylesheet" />
Here it the result:
Oct 01, 2019 01:50 AM|marco1892|LINK
Hello Yongqing Yu,
Thank you for the replay, i tried your code and this does not work for me, i do not know why.
Finally i changed the scripts i used and it worked.
So for those who had the same problem, this is my code i used first (not worked for me):
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-beta/css/bootstrap.min.css">
<link href="https://cdnjs.cloudflare.com/ajax/libs/summernote/0.8.12/summernote-bs4.css" rel="stylesheet">
and this is the code which worked:
<link href="https://cdnjs.cloudflare.com/ajax/libs/summernote/0.8.12/summernote-lite.css" rel="stylesheet">
thank you anyway for the help Yongqing Yu.
Oct 03, 2019 01:57 AM|marco1892|LINK
Sorry, but i still have a question. My text editor takes few secondes to display correctly. It starts small then it loads after that correctly.
is there any reason for that?