mirror of
https://github.com/ueberdosis/tiptap.git
synced 2024-12-11 15:59:01 +08:00
318592ba22
* add basic js demo * improve js demos * change demo button * fix js demos on build * add tailwind experiment * docs: replace tailwind demo Co-authored-by: Philipp Kühn <philippkuehn@MacBook-Pro-von-Philipp.local>
12 lines
247 B
TypeScript
12 lines
247 B
TypeScript
import 'iframe-resizer/js/iframeResizer.contentWindow'
|
|
import { debug } from './helper'
|
|
import './style.scss'
|
|
|
|
export default function init(name: string, source: any) {
|
|
// @ts-ignore
|
|
window.source = source
|
|
document.title = name
|
|
|
|
debug()
|
|
}
|