Reading time: 2 mins


  • The comments app is for adding contextual comments to different entities in your application. It contains features such as emojis and attachments.

    Type: Comments
    Full type: Weavy.Core.Models.Comments
    Guid: 88f96a08-c6c1-4eac-a0bd-5bf8fba1a3fd


To create a new comments app from the client, you use the Object definition syntax to create it. You need to specify key, type, and optionally the container where to place it and a name.

var weavy = new Weavy();

var posts ="my_space_key").app({ 

    key: "my_comments_key", 

    name: "Comments",

    type: "comments", 

    container: "#mycommentscontainer" 




When writing a comment you have automatic text transformations for emojis: @mentions #tags and [quick links] as you type.

Images, docs, and files 

You can attach multiple images to a comment which will display the first three images on the comment and then a preview overlay to display all the images. Documents and pdfs are also displayed in a preview overlay and other files are attached with an icon in a list on the comment. You may paste images to attach them directly.

You can also attach files from external providers such as Google Drive, OneDrive, Dropbox, and Box. These files will be displayed as an attachment and if a preview is available it will be shown in an overlay. Otherwise, clicking on an external file will link to the provider and display the file in a new window.

User engagement 

Users can like and star comments.