Where communities thrive

  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
Repo info
    Template.addArticle.onRendered(function(){ $(document).ready(function(){ $('#content').summernote(); }) }) javascript code
    <Template name="addArticle"> <form name="addArticle" id="addArticle" class="form-horizontal"> <div class="form-group"> <label class="control-label col-sm-2">标题</label> <div class="col-sm-10"> <input type="text" name="title" id="title" maxlength="128" required placeholder="请输入文章标题" class="form-control"> </div> </div> <div class="form-group"> <label class="control-label col-sm-2">文章分类</label> <div class="col-sm-10"> <select name="category" id="category" class="form-control"> {{#each categoryList}} <option value="{{_id}}">{{name}}</option> {{/each}} </select> </div> </div> <div class="form-group"> <label class="control-label col-sm-2">摘要</label> <div class="col-sm-10"> <textarea name="desc" id="desc" class="form-control" manxlength="255" placeholder="请输入内容摘要"></textarea> </div> </div> <div class="form-group"> <label class="control-label col-sm-2">文章内容</label> <div class="col-sm-10"> <div id="content"></div> </div> </div> <div class="form-group"> <div class="col-sm-10 col-sm-offset-2"> <button class="btn btn-primary" id="add-article-btn">提交</button> </div> </div> </form> </Template>
    template code
    but not woking probably,i can not upload file,i click file icon then i got TypeError: module.shouldInitialize is not a function
    Max Xu
    Hi everyone. How do you guys save the content into database?
    The images are converted into inline data blobs. which counts as an extremely long string. I'm using a SQL database, any advice on how I should configure the column to store this rich text??
    Hyunwoo Park
    Hi @xumx
    I do not recommend store images into databases (just in blob/text)
    My recommendation is - store images as files (commonly used) and insert their urls on text.
    You can set your own callback method for uploaded images, so you can handle them as you want.
    Hello, I'm trying to use your documentation to add a custom butotn
    I'm receiving a cannot read property invoke of undefined however. Here is my jsfiddle, http://jsfiddle.net/1dntx1qc/
    I used the exact code from your documentation but it doesn't seem to help, any ideas would be great, thanks
    Youngteac Hong
    This is fixed on v0.8.0. Could you test it again?
    Ivan Podorozhny
    Hello guys
    jinho park
    hi @podorozhny
    Leon Feng
    Hi everyone. I'm using a template called inspinia which integrates an old version of summernote. The latest doc doesn't go well with it. Where can I get the doc of old version? Thx.
    Edson Samuel Jr
    hi @alex1007, I guess you could find that on Summernote's github pages' commit history
    @hackerwins sorry for the long reply. Ended up switching to redactor. Thanks. @alex1007 I was using inspinia as well.
    Nikola Biondic
    Hi, is it possible to have multiple Hint definitions? Like if I want to have both mention and word hints?
    Gaurav joshi
    everyone is here?
    hi guys. summernote looks very promising. is it possible to use https://github.com/summernote/angular-summernote with aurelia?
    could you please help me with this summernote/summernote#1913
    submitted, that's my first contribution ever, so be kind
    Mahjoub Brahim
    Hey Guys,
    In Firefox browser, change link color not working.
    Qiang Cui
    How to update the html source code after modifying in the editor?
    David Ojeda
    Hello! Are there any plans on porting summernote to React.js?
    Hi guys, I have a question regarding copy and pasting in the editor, currently it always append font-size and line-height for the pasted content, is there a way to modify this? I only want the tags, not the styles
    Mike Duran
    @bebor i'm working on implementing summernote with aurelia too
    George Norris
    Hey guys.. anyone using the React-summernote w Browserify? For some reason it is not picking up jQuery and getting a jQuery is not defined..
    Mike Duran
    I started a demo project for aurelia using summernote editor at https://github.com/duranmg/demo-aurelia-summernote
    George Norris
    How do you import this library with ES6 import (or require)? Doesnt seem to work..
    Liam Hughes
    Hi, we're looking to implement Summernote into our application, however development seems to have stagnated a little? The grunt project doesn't seem to build due to missing files and a lot of issues seem to be going unanswered... cc: @hackerwins
    Hello~~Everyone~ Is anyone here know how to use summernote in vueJS ? :flushed:Why it just responses "$(...).summernote is not a function" .:disappointed_relieved:
    i am using summernot in meteor
    and i am follwing the steps of adding files in head of html
    but i get this js error
    summernote.js:1 Uncaught SyntaxError: Unexpected token <
    any idea about how to solve this?
    Rubén Galvan
    Hey guys, any one know if there is a way to disable the tooltips from the editor?
    hi all, I'm new to summernote. is it working offline since I tried several times but still not working especially for note-toolbar...any help appreciated..thank you
    Jan Buchar
    Hi, is it possible to set up summernote so that it only contains a single list and doesn't let the user make a new paragraph outside of that list?
    @duranmg hi, any news on implementing summernote with aurelia ?