Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    jakobmillah
    @jakobmillah
    Ye that worked out! I am kinda lost in the past when it comes to web development... During the days where a css file was a css file and not an entire project ;)
    jakobmillah
    @jakobmillah
    http://imgur.com/UroINfE @hackerwins do you know why this might occur?
    • might*
    its the modal-backdrop class that his above everything
    Youngteac Hong
    @hackerwins
    It's related with z-index.
    jakobmillah
    @jakobmillah
    ohhh, that's the reason then. I put z-index on the window and the buttons on top right
    Thanks
    Alexander Dorozhkin
    @remedge
    Hi, guys! It seems that download url for page http://summernote.org/getting-started/ is broken
    Youngteac Hong
    @hackerwins
    @remedge I can access this page. Could you check again?
    Youngteac Hong
    @hackerwins
    Thanks for reporting.
    Youngteac Hong
    @hackerwins
    @remedge Broken download link is fixed. :+1:
    Ghost
    @ghost~54ce8f4bdb8155e6700f545b
    guys, it seems not possible to unset a color or background-color previously set (except doing the remove all styles). I mean you can always set back the background-color to white, but I'd have preferred something to set it to initial/inherit or whatever it was before, even remove that style property
    Ghost
    @ghost~54ce8f4bdb8155e6700f545b
    @hackerwins ^ I will try to look in a few days, but would be happy to know if it's normal that the "reset to default" or "tranparent" button on the color dropdown don't remove the style
    Ghost
    @ghost~54ce8f4bdb8155e6700f545b
    Also I was trying to merge https://github.com/summernote/summernote/pull/1311/files but I see it was refactored (it's good), so I have found the corresponding files for .2 Table.js and .3 Editor.js. But not .1 Renderer.js and .4 Popover.js. Other popovers are in bs3/module, so Popover.js should TableDialog.js and Renderer.js should be TablePopover.js?
    Ghost
    @ghost~54ce8f4bdb8155e6700f545b
    other problem guys, when pasting some content with position absolute/fixed, it's completely out of the editor of course, any idea for that?
    Ghost
    @ghost~54ce8f4bdb8155e6700f545b
    hmm nvm, but other thing, I think it's possible to format the code in codemirror, it would be great
    Ghost
    @ghost~54ce8f4bdb8155e6700f545b
    will definitely need to use font-family guys
    <font face="Arial"><span style="font-size: 14.6667px; vertical-align: baseline; 
    white-space: pre-wrap; background-color: transparent;">foo bar</span></font>
    you can end up with this after pasting content and putting a font on it after
    Ghost
    @ghost~54ce8f4bdb8155e6700f545b
    @hackerwins eager to see you or the other devs, I'd like to contribute a bit
    Youngteac Hong
    @hackerwins
    @cauburtin Thanks for reporting.

    Confirmed

    guys, it seems not possible to unset a color or background-color previously set (except doing the remove all styles)

    Youngteac Hong
    @hackerwins
    unset color and background-color bug was fixed on develop branch.
    https://github.com/summernote/summernote/pull/1528/files
    Ghost
    @ghost~54ce8f4bdb8155e6700f545b
    good:), maybe 'initial' no?
    Youngteac Hong
    @hackerwins
    yeap.
    Nhat Khanh
    @lednhatkhanh
    @hackerwins Guys, i have an problem here! When i click the link button, the popup to create link appears but when i click anywhere in it, it's just dissappear!
    Here are my files, i use meteor and semantic with summernote:summernote package:
    <template name="postEdit">
        <div class="ui segment">
            <form class="ui form">
                <h1 class="ui dividing header">Edit post</h1>
                <div class="field">
                    <label>Title</label>
                    <input type="text" id="title" name="title" value="{{title}}">
                </div>
                <label>Content</label>
                <div class="field" id="content" name="content">
                    Hello
                </div>
                <button type="submit" class="ui orange button"><i class="edit icon"></i> Edit</button>
                <a class="negative ui button delete"><i class="remove icon"></i> Delete</a>
                <a class="ui button" href="{{pathFor 'postPage'}}"><i class="arrow left icon"></i> Back</a>
            </form>
        </div>
    </template>
    Template.postEdit.onRendered(function(){
        $(document).ready(function() {
            $('#content').summernote({
                height: 400,
                maxHeight:800,
                minHeight:250,
            });
        });
    });
    Ghost
    @ghost~54ce8f4bdb8155e6700f545b
    that's the point of a modal no?
    Youngteac Hong
    @hackerwins
    @lednhatkhanh Thanks for reporting. This is bootstrap modal's default behaviour. http://getbootstrap.com/javascript/#live-demo
    boyhailong
    @boyxiaolong
    hi i found it when i load the summernote js in html, the request becomes very slow
    Tomli
    @lifenglsf
    ``
    I get some error to,used on meteor app
    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
    Tomli
    @lifenglsf
    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
    @xumx
    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
    @lqez
    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.
    Jesse
    @newmanships
    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
    @hackerwins
    This is fixed on v0.8.0. Could you test it again?
    Ivan Podorozhny
    @podorozhny
    Hello guys
    jinho park
    @easylogic
    hi @podorozhny
    Leon Feng
    @leon0707
    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
    @mstred
    hi @alex1007, I guess you could find that on Summernote's github pages' commit history