Click here to Skip to main content
15,947,476 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:

<pre>  <div class="form-group">
        @Html.LabelFor(model => model.long_Description, htmlAttributes: new { @class = "control-label col-md-4" })
        <div id="summernote"></div>
        <div class="col-md-10">
            @Html.TextAreaFor(model => model.long_Description, new { @id = "long_Description", @style = "display:none;", @class = "form-control" })
            @Html.ValidationMessageFor(model => model.long_Description, "", new { @class = "text-danger" })
    <script type="text/javascript">
        $(document).ready(function () {
                    tabsize: 2,
                    height: 150

            var editor = $('#long_Description').html();


            $('#editorbtn').hover(function () {

                var editor = $('.note-editable').html();



 <input type="submit" value="Add" id="editorbtn" class="btn btn-primary" />

What I have tried:

Summernote editor encodes image files into Base64.I wonder if it has a option to turn this encoding option off and use 'inserting url' method instead. I've been looking for it but no great success yet.
For example, instead of storing images like...

it should be <img src="/Upload/apple.jpg">
Updated 26-Nov-19 5:58am

1 solution

You should talk to the people who created it - Summernote - Super Simple WYSIWYG editor[^] - they should provide technical support and will know more about their product than we will. If they don't, then find another supplier and demand your money back!
Share this answer
Member 13582084 11-Jan-18 4:37am    
Summernote free. I did not pay money.
OriginalGriff 11-Jan-18 4:45am    
So? Still contact them - if they can't do it, they may think it a good idea and add it for you...

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900