From 757eaa3f26f80c02b86e70e6ee7409ab14551dc7 Mon Sep 17 00:00:00 2001 From: antelle Date: Fri, 19 May 2017 22:12:39 +0200 Subject: [PATCH] Updated Plugins (markdown) --- Plugins.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Plugins.md b/Plugins.md index 7409f3d..5e9ad67 100644 --- a/Plugins.md +++ b/Plugins.md @@ -156,6 +156,8 @@ There are three types of settings: To add settings, export `getSettings` function from your plugin and return the necessary settings config. You can find an example [here](https://github.com/keeweb/keeweb/blob/develop/plugins/examples/settings/plugin.js#L12). +If you export `setSettings` function from your plugin, it will be called every time settings are changed or on plugin load, with changed values. + ## Guidelines - ❗️ DO NOT obfuscate, uglify, etc... plugin code, including styles and locales: it must be easy to read and review