Skip to content
Advertisement

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

Advertisement