Anyway lmk what you think.... I would require that I have a reasonable editor for my users. This editor/markdown component is a deal breaker for me, it's awful..... The platform fantastic, this editor.....??? Hopefully I can get Quill working b/c it will be exactly what I need.
anodebbuser
Posts
-
Activate the Quill editor -
Activate the Quill editor@PitaJ Looking at the call preceeding where the code breaks, this function receives a 'data' variable but 'data' doesn't include a 'title' or 'body' property....
$(window).on('action:app.load', function () { require(['composer', 'quill-nbb'], function (composer) { $(window).on('action:composer.topic.new', function (ev, data) { composer.newTopic({ cid: data.cid, title: data.title, body: data.body, }); }); $(window).on('action:composer.post.edit', function (ev, data) { composer.editPost(data.pid); }); $(window).on('action:composer.post.new', function (ev, data) { composer.newReply(data.tid, data.pid, data.topicName, data.text); }); $(window).on('action:composer.addQuote', function (ev, data) { composer.newReply(data.tid, data.pid, data.topicName, wrapWithBlockquote(data.text)); }); }); });
-
Activate the Quill editorTrying now..... nope that didn't work. Here's error in console...
Uncaught TypeError: Cannot read property 'length' of undefined
at Object.d.newTopic (composer.js:198)
at client.js:23
at dispatch (jquery.js:5237)
at g.handle (jquery.js:5044)
at Object.trigger (jquery.js:8471)
at jquery.js:8549
at Function.each (jquery.js:367)
at x.fn.init.each (jquery.js:202)
at x.fn.init.trigger (jquery.js:8548)
at Object.app.newTopic (app.js:718) -
Activate the Quill editorHi, I'm using a trial account and learning about NodeBB configuration. I am trying to activate the plugin https://github.com/NodeBB/nodebb-plugin-composer-quill. I followed the steps to deactivate the current composer and markdown plugins. Then I activated the quill plugin and restarted my NBB instance.
When I go to any of the pages to create topics/announcements, etc nothing happens when I click the New Topic button on any of the site pages.
Clearly I didn't activate the editor correctly somehow. Any ideas?
Thanks
-
Installing as newbie - nodebb command not foundOk great, thanks!
-
Installing as newbie - nodebb command not foundHi, I've following the install steps https://docs.nodebb.org/installing/os/ubuntu/ and now at the step where I need to run setup. However, when I'm in the /nodebb directory, when ls the directory I can see a green "nodebb" perl script and when I look at the directory in the file manager I can see "nodebb" is in fact there and it shows it as a perl script.
I just ran the following -
dev@dev-vm:~/work/nodebb/nodebb$ ls app.js CHANGELOG.md docker-compose.yml Gruntfile.js LICENSE logs nodebb.bat README.md require-main.js test build commitlint.config.js Dockerfile install loader.js nodebb public renovate.json src dev@dev-vm:~/work/nodebb/nodebb$ nodebb setup nodebb: command not found
Yes I know I have two directories named the same, I created the directory for node before I ran the git clone which created the identical folder as well.
At any rate, I tried running as 'sudo' but according to the docs I've read seems that's not correct way to run nodebb. But, in both cases it says it can't find the program.
Huh? Thanks for any help