• Home
  • Categories
  • Recent
  • Popular
  • Tags
  • Users
  • Groups
  • Documentation
    • Home
    • Read API
    • Write API
    • Plugin Development
Skins
  • Light
  • Default
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Quartz
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Slate
  • Solar
  • Superhero
  • Vapor
Collapse

Community

A

anodebbuser

@anodebbuser
About
Posts
6
Topics
2
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

    RE: Activate the Quill editor
  • A anodebbuser

    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.


  • RE: Activate the Quill editor
  • A anodebbuser

    @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));
    		});
    	});
    });
    

  • RE: Activate the Quill editor
  • A anodebbuser

    Trying 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 editor
  • A anodebbuser

    Hi, 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


  • RE: Installing as newbie - nodebb command not found
  • A anodebbuser

    Ok great, thanks!


  • Installing as newbie - nodebb command not found
  • A anodebbuser

    Hi, 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 -

    [email protected]:~/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
    
    [email protected]:~/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

  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Home
  • Categories
  • Recent
  • Popular
  • Tags
  • Users
  • Groups
  • Documentation
    • Home
    • Read API
    • Write API
    • Plugin Development
  • Login

  • Don't have an account? Register

  • Login or register to search.