I’m building a Rails app capable of displaying text with rich formatting – the app will be used by non-technical personnel, so using markdown is not possible. Therefore, I’ve decided to use Summernote as a WYSIWYG editor. However, the default highlighting color (the background color option) that is shown when the summernote is initialized is yellow which really conflicts with
Tag: summernote
Summernote set default font size and font
I’m using last version summernote library. How i can set default font size and font? I’m trying like this, but its not working: https://jsfiddle.net/dtgr5q29/142/ Answer A possible solution to this is to apply directly the font-size style to the editor div using jQuery More .. How to set font-size in summernote? Thanks
How to disable a ts rule for a specific line?
Summernote is a jQuery plugin, and I don’t need type definitions for it. I just want to modify the object, but TS keeps throwing errors. The line bellow still gives me: “Property ‘summernote’ does not exist on type ‘jQueryStatic’.” error. Edit: Here is my tsconfig.json Answer As of Typescript 2.6, you can now bypass a compiler error/warning for a specific