songweig commited on
Commit
4d49165
1 Parent(s): b29d1da

add tootips

Browse files
Files changed (1) hide show
  1. rich-text-to-json-iframe.html +24 -0
rich-text-to-json-iframe.html CHANGED
@@ -312,6 +312,30 @@
312
  }
313
  document.body.setQuillContents = setQuillContents
314
  </script>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
315
  </body>
316
 
317
  </html>
 
312
  }
313
  document.body.setQuillContents = setQuillContents
314
  </script>
315
+ <script src="https://unpkg.com/@popperjs/core@2/dist/umd/popper.min.js"></script>
316
+ <script src="https://unpkg.com/tippy.js@6/dist/tippy-bundle.umd.js"></script>
317
+ <script>
318
+ // With the above scripts loaded, you can call `tippy()` with a CSS
319
+ // selector and a `content` prop:
320
+ tippy('.ql-font', {
321
+ content: 'Add a style to the token',
322
+ });
323
+ tippy('.ql-size', {
324
+ content: 'Reweight the token',
325
+ });
326
+ tippy('.ql-color', {
327
+ content: 'Pick a color for the token',
328
+ });
329
+ tippy('.ql-link', {
330
+ content: 'Clarify the token',
331
+ });
332
+ tippy('.ql-strike', {
333
+ content: 'Change the token weight to be negative',
334
+ });
335
+ tippy('.ql-clean', {
336
+ content: 'Remove all the formats',
337
+ });
338
+ </script>
339
  </body>
340
 
341
  </html>