Git Product home page Git Product logo

tui-font-size-picker's People

Contributors

c-likethis123 avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

dulanhewage

tui-font-size-picker's Issues

How could I import tui-font-size-picker by cdn way

Hi

I trying add tui-font-size-picker in tui.editor with cdn way.

I saw the demo source

  1. npm install tui-font-size-picker
  2. with me source
<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
    <link
      rel="stylesheet"
      href="https://uicdn.toast.com/editor/latest/toastui-editor.min.css"
    />
    <link
      rel="stylesheet"
      href="https://uicdn.toast.com/tui-color-picker/latest/tui-color-picker.min.css"
    />
    <link
      rel="stylesheet"
      href="https://uicdn.toast.com/editor-plugin-color-syntax/latest/toastui-editor-plugin-color-syntax.min.css"
    />
  </head>
  <body>
    <script src="https://uicdn.toast.com/editor/latest/toastui-editor-all.min.js"></script>
    <!-- tui-color-picker -->
    <script src="https://uicdn.toast.com/tui-color-picker/v2.2.6/tui-color-picker.min.js"></script>

    <!-- Editor's Plugin -->
    <script src="https://uicdn.toast.com/editor-plugin-color-syntax/3.0.1/toastui-editor-plugin-color-syntax.min.js"></script>
    <script src="./node_modules/tui-font-size-picker/dist/font-size-picker.js"></script>
    <div id="editor"></div>
    <!-- <script type="module">
      import fontSizePicker from './plugin/font-size-picker/font-size-picker.js'
    </script> -->
    <script>
      const Editor = toastui.Editor
      const { colorSyntax } = Editor.plugin
      const editor = new Editor({
        el: document.querySelector('#editor'),
        height: '500px',
        initialEditType: 'wysiwyg',
        previewStyle: 'vertical',
        plugins: [colorSyntax],
      })
    </script>
  </body>
</html>

result
image

is this plugin isn't support with using cdn?

Can't hide dropdown

image
click red box side , dropdown will not hide, only click number or input will hide , can you suport this?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.