I installed and activated the plugin-sanitizehtml , restarted NodeBB as instructed, saved the default plug-in settings from ACP.
But, now all my HTML tags have been stripped off (I can tell by looking at the source)
What am I missing ?
BTW, I uninstalled the Markdown-plugIn before installing the sanitizehtml plugIn.
Is there a local directory for nodebb plugins
-
I know plugins are stored in node_modules, but I want to have local plugins that are not linked to npm or whatever like local_modules this is mainly to test my plugins before I put the on my server and to have them seperated from the npm because when I do npm update it clears out my changes. I just want to check if there is already an existing feature if not I will just have to edit the plugin loader every update I guess
-
Do
git init
in your plugin's directory. It will create an empty.git
directory. When NPM sees that directory, it will stop touching your package. -
Oh npm does that? Cool, but a local plugins folder would be nice
-
Oh I just realized, I can make a plugin that loads plugins from another directory