• 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

    • All categories
    There is a new post. Click here to reload.
Log in to post
  • Sebastián CisnerosS

    Composer quick search see more results

    Scheduled Pinned Locked Moved Plugin Development composer
    0 Votes
    3 Posts
    234 Views

    barisB

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

  • Sebastián CisnerosS

    Composer custom field validation

    Scheduled Pinned Locked Moved Plugin Development composer
    0 Votes
    14 Posts
    580 Views

    Sebastián CisnerosS

    @baris Thanks for the help. I appreciate it.


  • Sebastián CisnerosS

    Composer tpl - add custom data.

    Scheduled Pinned Locked Moved Plugin Development composer
    0 Votes
    5 Posts
    309 Views

    Sebastián CisnerosS

    @baris you are a rock star!


  • Sebastián CisnerosS

    Composer list of tags available

    Scheduled Pinned Locked Moved Plugin Development composer tags
    0 Votes
    4 Posts
    239 Views

    barisB

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


  • Sebastián CisnerosS

    Composer default category

    Scheduled Pinned Locked Moved Plugin Development composer
    0 Votes
    8 Posts
    411 Views

    Sebastián CisnerosS

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


  • E

    Inserting additional template data into composer template

    Scheduled Pinned Locked Moved Unsolved Plugin Development composer custom plugin development
    0 Votes
    5 Posts
    424 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


  • dogsD

    How to open composer via clientside script and add category & tags

    Scheduled Pinned Locked Moved Tutorials composer javascript jquery snippet
    2 Votes
    4 Posts
    416 Views

    dogsD

    @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. 🙂 👍


  • omegaO

    Composer - List Icon change: fa-list > fa-list-ul

    Scheduled Pinned Locked Moved Feature Requests composer icon css
    0 Votes
    3 Posts
    279 Views

    omegaO

    @baris Oh my! 😳

    😀Awesome!


  • fortunatoF

    Image upload

    Scheduled Pinned Locked Moved Bug Reports error image upload composer
    0 Votes
    2 Posts
    495 Views

    fortunatoF

    @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

    Scheduled Pinned Locked Moved Bug Reports bugs composer core compose
    0 Votes
    7 Posts
    1659 Views

    fais3000F

    @baris nope, on both


  • julianJ

    Override formatting toolbar button with your own custom button

    Scheduled Pinned Locked Moved Tutorials css composer formatting
    4 Votes
    1 Posts
    1091 Views

    julianJ

    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-marinescuS

    [nodebb-plugin-composer-redactor] Customizing Redactor's Toolbar

    Scheduled Pinned Locked Moved Solved NodeBB Plugins redactor composer toolbar customization
    0 Votes
    3 Posts
    1747 Views

    sebastian-marinescuS

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


  • JaredBuschJ

    Composer preview auto size issue

    Scheduled Pinned Locked Moved Bug Reports composer preview bug
    0 Votes
    3 Posts
    2081 Views

    JaredBuschJ

    @baris said in Composer preview auto size issue:

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

    Cool


  • JamJ

    Need help for adding thumbnail info to the nodebb-plugin-composer-redactor

    Scheduled Pinned Locked Moved Technical Support composer
    0 Votes
    18 Posts
    5300 Views

    yariplusY

    @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' ?

    Scheduled Pinned Locked Moved NodeBB Development composer component template
    0 Votes
    6 Posts
    2733 Views

    K

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


  • BriB

    Composer window positioning

    Scheduled Pinned Locked Moved Bug Reports composer
    0 Votes
    2 Posts
    1454 Views

    julianJ

    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.


  • agusputraA

    Why not use composer-redactor as default editor?

    Scheduled Pinned Locked Moved NodeBB Development composer user experience redactor
    1 Votes
    22 Posts
    9311 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.


  • NicolasN

    Default Composer Issue

    Scheduled Pinned Locked Moved Unsolved Bug Reports issue composer
    0 Votes
    1 Posts
    1205 Views

    NicolasN

    Guys, this problem also on this board:

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


  • drewD

    Redactor Composer 1.3.4 Released!

    Scheduled Pinned Locked Moved NodeBB Plugins wysiwyg plugin redactor composer
    7 Votes
    64 Posts
    34514 Views

    Bhavya DhimanB

    Quite Worth It
    Very Nice


  • tfraleyT

    Don't think my composer is working correctly.

    Scheduled Pinned Locked Moved Technical Support composer
    0 Votes
    8 Posts
    2146 Views

    PitaJP

    @shanji97 share your code please


  • 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.