Skip to content

Node.js based forum software built for the modern web

removed console logs, and requiring markdown 1.0.0 plugin

Julian Lam58094d2b3b3a
diff --git a/package.json b/package.json
index 8561984d0d..f8bfb660ee 100644
--- a/package.json
+++ b/package.json
@@ -40,7 +40,7 @@
"nconf": "~0.7.1",
"nodebb-plugin-dbsearch": "^0.1.0",
"nodebb-plugin-emoji-extended": "^0.4.1-4",
- "nodebb-plugin-markdown": "^0.8.0",
+ "nodebb-plugin-markdown": "^1.0.0",
"nodebb-plugin-mentions": "^0.9.0",
"nodebb-plugin-soundpack-default": "~0.1.1",
"nodebb-plugin-spam-be-gone": "^0.4.0",
diff --git a/public/src/modules/composer.js b/public/src/modules/composer.js
index 26f4e4a8f2..84c4c4e9dd 100644
--- a/public/src/modules/composer.js
+++ b/public/src/modules/composer.js
@@ -241,7 +241,6 @@ define('composer', [
handle: composer.posts[post_uuid] ? composer.posts[post_uuid].handle || '' : undefined,
formatting: composer.formatting
};
- console.log(composer.formatting);
parseAndTranslate(template, data, function(composerTemplate) {
if ($('#cmp-uuid-' + post_uuid).length) {
diff --git a/public/src/modules/composer/formatting.js b/public/src/modules/composer/formatting.js
index 56edd38815..03fb05730e 100644
--- a/public/src/modules/composer/formatting.js
+++ b/public/src/modules/composer/formatting.js
@@ -46,9 +46,6 @@ define('composer/formatting', ['composer/controls', 'composer/preview'], functio
postContainer.on('click', '.formatting-bar span', function () {
var format = $(this).attr('data-format'),
textarea = $(this).parents('.composer').find('textarea')[0];
- console.log('handling', format);
-
- console.log(formattingDispatchTable);
if(formattingDispatchTable.hasOwnProperty(format)){
formattingDispatchTable[format](textarea, textarea.selectionStart, textarea.selectionEnd);