Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Angular summernote removes <form> tag from HTML code. #200

Open
allnash opened this issue Feb 1, 2018 · 0 comments
Open

Angular summernote removes <form> tag from HTML code. #200

allnash opened this issue Feb 1, 2018 · 0 comments

Comments

@allnash
Copy link

allnash commented Feb 1, 2018

steps to reproduce

  1. Type this -
<form class="form-horizontal">
                        <p>Sign in today for more expirience.</p>

                        <div class="form-group"><label class="col-lg-2 control-label">Email</label>

                            <div class="col-lg-10"><input type="email" placeholder="Email" class="form-control"> <span
                                    class="help-block m-b-none">Example block-level help text here.</span>
                            </div>
                        </div>
                        <div class="form-group"><label class="col-lg-2 control-label">Password</label>

                            <div class="col-lg-10"><input type="password" placeholder="Password" class="form-control">
                            </div>
                        </div>
                        <div class="form-group">
                            <div class="col-lg-offset-2 col-lg-10">
                                <input icheck type="checkbox" ng-model="main.checkOne"><i></i> Remember me
                            </div>
                        </div>
                        <div class="form-group">
                            <div class="col-lg-offset-2 col-lg-10">
                                <button class="btn btn-sm btn-white" type="submit">Sign in</button>
                            </div>
                        </div>
</form>
  1. Click code button to visualize the HTML code
  2. Click code button again, tag missing? 🤯

browser version and os version and summernote version

What is your browser and OS?

  1. Safari 11.03

What is your summernote version?

  1. Latest
  2. Angular summer note latest.

If you can make the issue using jsfiddle(https://jsfiddle.net/), We can save time to reproduce the problem.

Try it here
http://jsfiddle.net/outsider/n8dt4/322/embedded/result%2Chtml%2Cjs%2Ccss/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant