• HOME
    • PRODUCT
    • PRICING
    • ABOUT
    • COMMUNITY
    Menu
    • HOME
    • PRODUCT
    • PRICING
    • ABOUT
    • COMMUNITY
    Get in touch
    Get in touch
    Menu
    • HOME
    • PRODUCT
    • PRICING
    • ABOUT
    • COMMUNITY
    • Sign in
    • Start free trial
    • Get in touch
    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Popular
    • Tags
    • Users
    • Groups
    • Documentation
      • Home
      • Read API
      • Write API
      • Plugin Development
    1. Home
    2. Tags
    3. composer
    Log in to post
    • All categories
    • Sebastián Cisneros

      Composer quick search see more results
      Plugin Development • composer • • Sebastián Cisneros

      3
      0
      Votes
      3
      Posts
      79
      Views

      baris

      That should work but I added a helper to make this easier. https://github.com/NodeBB/nodebb-plugin-composer-default/commit/7c15eeb85b6d702e0a4a3f6519e03af0208c3342

      You can all this from your hook

      $(document).ready(function() { $(window).on('action:ajaxify.end', function(ev, data) { require(['composer'], function(composer) { composer.minimizeActive(); }); }); }); 0 barisusakli committed to NodeBB/nodebb-plugin-composer-default feat: add helper to minimize active composer
    • Sebastián Cisneros

      Composer custom field validation
      Plugin Development • composer • • Sebastián Cisneros

      14
      0
      Votes
      14
      Posts
      121
      Views

      Sebastián Cisneros

      @baris Thanks for the help. I appreciate it.

    • Sebastián Cisneros

      Composer tpl - add custom data.
      Plugin Development • composer • • Sebastián Cisneros

      5
      0
      Votes
      5
      Posts
      116
      Views

      Sebastián Cisneros

      @baris you are a rock star!

    • Sebastián Cisneros

      Composer list of tags available
      Plugin Development • composer tags • • Sebastián Cisneros

      4
      0
      Votes
      4
      Posts
      84
      Views

      baris

      Once you define a list of tags in the category page, it will show a dropdown with them instead of the typebox.

    • Sebastián Cisneros

      Composer default category
      Plugin Development • composer • • Sebastián Cisneros

      8
      0
      Votes
      8
      Posts
      160
      Views

      Sebastián Cisneros

      @baris Thanks! I got one more question about the composer, but I will post in a different topic.

    • E

      Unsolved Inserting additional template data into composer template
      Plugin Development • composer custom plugin development • • erichbb

      5
      0
      Votes
      5
      Posts
      183
      Views

      E

      @dogs Thanks.
      Can you point me to some materials explaining how the frontend and hooks interact?
      I don't complete follows their discussion on data.submittedData and is still confused about which variable is the post data stored in and which hooks are involved when it is passed around.

      Edit:
      Also found this, maybe relevant
      Difference between templateValues and templateData

    • dogs

      How to open composer via clientside script and add category & tags
      Tutorials • composer javascript jquery snippet • • dogs

      4
      2
      Votes
      4
      Posts
      198
      Views

      dogs

      @dunlix yeah you should! 😂

      what does discord have to do with it? I tried using that link with different values and URL of course on my site, still didn't work. I'm sure it works for you, what am I missing?

      To be honest: Nothing.

      I am building a plugin for Discord integration..So the variable names are just placeholders if you want so.

      The important part is at the end of my main post.

      I hope that you find a slick way to use it for your community maybe. 🙂 👍

    • omega

      Composer - List Icon change: fa-list > fa-list-ul
      Feature Requests • composer icon css • • omega

      3
      0
      Votes
      3
      Posts
      135
      Views

      omega

      @baris Oh my! 😳

      😀Awesome!

    • fortunato

      Image upload
      Bug Reports • error image upload composer • • fortunato

      2
      0
      Votes
      2
      Posts
      273
      Views

      fortunato

      @fortunato I forgot to say that this error doesn't show up when creating a new topic and sometimes it works also in replies. The error in the NodeBB UI is the following: "stream ended unexpectedly"

      6c6ff98f-95d8-4ad4-b402-b7a336cf47e7-image.png

    • F

      Error in composer due to draft mode - Uncaught TypeError: Cannot read property 'split' of null
      Bug Reports • bugs composer core compose • • faizanzahid

      7
      0
      Votes
      7
      Posts
      1357
      Views

      fais3000

      @baris nope, on both

    • julian

      Override formatting toolbar button with your own custom button
      Tutorials • css composer formatting • • Julian Lam

      1
      3
      Votes
      1
      Posts
      1003
      Views

      julian

      As part of the creation of the Tenor GIF plugin, I needed to add a button to the composer toolbar:

      gif button in composer

      Normally, this is fairly straightforward. filter:composer.formatting is called, and caught with this listener:

      plugin.registerFormatting = function (payload, callback) { payload.options.push({ name: 'gif', className: 'fa fa-tenor-gif', title: 'Insert GIF' }); callback(null, payload); };

      The className denotes a class name (of course), and if you use fa and and corresponding fa-* class, you can select from hundreds of possible icons. Unfortunately for me, there was no "gif" icon, nor one for Tenor GIF.

      So I had to set out to make my own. To do this, you'll see that above, I set the class fa-tenor-gif. This maps to nothing, since the icon doesn't exist. However, it does provide a nice easy way to find and style the button itself.

      Then in my stylesheet, I simply added this styling to create my button via CSS pseudo-elements:

      .fa-tenor-gif::before { content: 'GIF'; font-size: 1rem; font-family: sans; background: #333; color: #fff; padding: 0.25rem 0.5rem; border-radius: 0.5em; position: relative; top: -0.2rem; }

      I wanted to go for a "badge-like" icon, since the text "GIF" fairly easily indicates what its purpose is for, hence the dark background, light text, and slight border radius.

      If you wanted to do something else, like replace the icon with a picture of your own, then you might want to look into using background-image, but that is outside of the scope of this tutorial 😄

    • sebastian-marinescu

      Solved [nodebb-plugin-composer-redactor] Customizing Redactor's Toolbar
      NodeBB Plugins • redactor composer toolbar customization • • sebastian-marinescu

      3
      0
      Votes
      3
      Posts
      1571
      Views

      sebastian-marinescu

      Okay, thanks @julian
      This isn't ideal considering future updates, but it is a viable solution.

    • JaredBusch

      Composer preview auto size issue
      Bug Reports • composer preview bug • • JaredBusch

      3
      0
      Votes
      3
      Posts
      1900
      Views

      JaredBusch

      @baris said in Composer preview auto size issue:

      This is already reported here https://github.com/NodeBB/NodeBB/issues/5208

      Cool

    • Jam

      Need help for adding thumbnail info to the nodebb-plugin-composer-redactor
      Technical Support • composer • • Jam

      18
      0
      Votes
      18
      Posts
      4811
      Views

      yariplus

      @Jam haha yeah, google translate figured it out. It just took me a minute to realize I had to type it in Chinese characters.

    • K

      Where's the template file of 'composer' ?
      NodeBB Development • composer component template • • K68

      6
      0
      Votes
      6
      Posts
      2527
      Views

      K

      @Bri @pichalite
      I got it now 👍 , thank you guys 🙂

    • Bri

      Composer window positioning
      Bug Reports • composer • • Bri

      2
      0
      Votes
      2
      Posts
      1375
      Views

      julian

      Yeah this is intentional, I believe, as the composer is best used at a certain height and up. Any shorter, and the composer will slide downwards to obscure itself.

    • agusputra

      Why not use composer-redactor as default editor?
      NodeBB Development • composer user experience redactor • • agusputra

      22
      1
      Votes
      22
      Posts
      8850
      Views

      F

      @agusputra I agree with your suggestion about helper buttons. The open source project Rocket Chat has an unobtrusive way of hinting basic Markdown syntax.
      0_1447403857660_markdown_hint1.png
      Simply a line of greyed text that becomes regular text on mouseover
      0_1447403978825_markdown_hint2.png
      It might be useful to have something like this at the bottom of the editor input field.

    • Nicolas

      Unsolved Default Composer Issue
      Bug Reports • issue composer • • Nicolas

      1
      0
      Votes
      1
      Posts
      1134
      Views

      Nicolas

      Guys, this problem also on this board:

      https://github.com/NodeBB/nodebb-plugin-composer-default/issues/6

      NicolasSiver created this issue in NodeBB/nodebb-plugin-composer-default closed Latest lines in composer are not clickable #6
    • drew

      Redactor Composer 1.3.4 Released!
      NodeBB Plugins • wysiwyg plugin redactor composer • • drew

      64
      7
      Votes
      64
      Posts
      33106
      Views

      Bhavya Dhiman

      Quite Worth It
      Very Nice

    • tfraley

      Don't think my composer is working correctly.
      Technical Support • composer • • tfraley

      8
      0
      Votes
      8
      Posts
      1999
      Views

      PitaJ

      @shanji97 share your code please

    Get Started

    • Product
    • Pricing

    Resources

    • Demo Site
    • Answers
    • Docs
    • Bug Bounty

    Company

    • About
    • Blog
    • Contact
    Start Free Trial
    Github Facebook Instagram Twitter
    © 2014 – 2022 NodeBB, Inc. — Made in Canada.
    • Terms
    • Privacy
    • GDPR
    • DMCA
    • Contact
    Menu
    • Terms
    • Privacy
    • GDPR
    • DMCA
    • Contact