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

Problem rendering <select>-tags #997

Closed
nicohvi opened this issue Sep 22, 2016 · 1 comment
Closed

Problem rendering <select>-tags #997

nicohvi opened this issue Sep 22, 2016 · 1 comment

Comments

@nicohvi
Copy link

nicohvi commented Sep 22, 2016

Hiya, love the library 👍

I'm running into some problems following the documentation, though. As per the docs this should render a toolbar properly (the buttons render fine):

<section id="toolbar">
  <select class="ql-size">
    <option value="regular">Regular</option>
    <option value="title">Title</option>
  </select>

  <button class="ql-bold">B</button>
  <button class="ql-italic">I</button>
  <button id="save">Save</button>
</section>
<section id="editor"></section>
const editor = new Quill('#editor', {
  modules: {
    toolbar: '#toolbar'
  }
});

But this hides the content of the select tag for some reason.

I'm using Quill version 1.0.4 in conjunction with Electron version 1.4.1.

Steps to reproduce:

  1. Install Quill 1.0.4
  2. Add the HTML markup and Javascript I added above
  3. Open the HTML file in a browser

Edit: I've tested it in a basic HTML-file in Firefox and Chrome and have had the same result.

@nicohvi
Copy link
Author

nicohvi commented Sep 25, 2016

Thanks for the quick resolution @jhchen, great work! 🎉

tim-mc pushed a commit to tim-mc/quill that referenced this issue Dec 12, 2016
tim-mc pushed a commit to tim-mc/quill that referenced this issue Dec 12, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants