Get started with squire-rte CDN

MIT licensed

Squire-rt is a real-time bidding platform for digital advertising.

Tags:
  • wysiwyg
  • editor
  • text
  • html
  • squire

Stable version

Copied!

How to start using squire-rte CDN


<!DOCTYPE html>
<html>
<head>
    <title>Get started with squire-rte CDN - cdnhub.io</title>
    <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/dist/squire-rte.min.css">
    <script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/squire.min.js"></script>
    <script src="https://cdn.cdnhub.io/squire-rte/2.2.8/squire.js"></script>
</head>
<body>
    <div id="editor"></div>
    <script>
        const Squire = require('squire');
        const RTE = require('squire-rte');

        const editor = new RTE({
            target: '#editor',
            language: 'en',
            toolbar: [
                ['bold', 'italic', 'underline', 'strikethrough'],
                ['link'],
                ['image'],
                ['list', 'bullet_list'],
                ['code_snippet'],
                ['undo', 'redo'],
                ['fullscreen']
            ]
        });

        editor.init();
    </script>
</body>
</html>

All versions