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

Add more fonts to Quill #33

Open
andresud opened this issue Apr 28, 2021 · 0 comments
Open

Add more fonts to Quill #33

andresud opened this issue Apr 28, 2021 · 0 comments

Comments

@andresud
Copy link

Hello good people... I added this to Quill, however Font doesn't change, other functions works fine... any ideas??

<quill-editor
[(ngModel)]="content"
trackChanges="all"
[modules]="modules"
(onEditorCreated)="addBindingCreated($event)"

<div quill-editor-toolbar>
  <span class="ql-formats">
    <select class="ql-font">
      <option selected>Sans Serif</option>
      <option value="serif"></option>
      <option value="monospace"></option>
      <option value="inconsolata">Inconsolata</option>
      <option value="roboto">Roboto</option>
      <option value="mirza">Mirza</option>
      <option value="arial">Arial</option>
    </select>
  </span>
  <span class="ql-formats">
    <select class="ql-size">
      <option value="small"></option>
      <option selected></option>
      <option value="large"></option>
      <option value="huge"></option>
    </select>
  </span>
  <span class="ql-formats">
    <button class="ql-bold"></button>
    <button class="ql-italic"></button>
    <button class="ql-underline"></button>
    <button class="ql-strike"></button>
  </span>
  <span class="ql-formats">
    <select class="ql-color"></select>
    <select class="ql-background"></select>
  </span>
  <span class="ql-formats">
    <button class="ql-list" value="ordered"></button>
    <button class="ql-list" value="bullet"></button>
    <select class="ql-align">
      <option selected></option>
      <option value="center"></option>
      <option value="right"></option>
      <option value="justify"></option>
    </select>
  </span>
  <span class="ql-formats">
    <button class="ql-link"></button>
    <button class="ql-image"></button>
  </span>
</div>
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