DennisSuitters / summernote-text-findnreplace

Summernote Plugin that Adds Find and Replace area in the Toolbar.
MIT License
10 stars 6 forks source link

The 'en-US.js' file under the lang folder is empy #3

Open Teolone88 opened 3 years ago

Teolone88 commented 3 years ago

Hi,

I am trying to add the findnreplace plugin for the summernote library but I am unable to load it properly as the button is not executing any action. I am just trying to understand if the 'en-US.js' file is supposed to be empty or not.

Furthermore, the 'lite.css' file, is not exactly explained where should be in the hierarchy.

I have the index and a folder called 'www' with 'js', 'css' and under 'summernote-text-findnreplace.js' the jquery is mentioning the following:

$('<link/>', { rel: 'stylesheet', type: 'text/css', href: '../summernote-text-findnreplace/css/lite.css' }).appendTo('head');

However, I am not sure how to fit the 'lite.css' file.

Could you please help me setup this addon, as I find it very useful.

Best,

Teo

DennisSuitters commented 3 years ago

Apologies for not seeing this earlier, I'll need to check the notification settings.

I must have had some plan for the lang file, that I've since forgotten about. There is already an English lang section within the plugin, so just don't include the lang file, and it should be ok.