mirror of
https://github.com/ueberdosis/tiptap.git
synced 2024-11-28 15:49:23 +08:00
Merge branch 'main' of github.com:ueberdosis/tiptap-next into main
This commit is contained in:
commit
62d7163e30
@ -71,7 +71,7 @@ context('/api/extensions/typography', () => {
|
||||
|
||||
it('should make a one half', () => {
|
||||
cy.get('.ProseMirror')
|
||||
.type('1/2 oneHalfw')
|
||||
.type('1/2 oneHalf')
|
||||
.should('contain', '½ oneHalf')
|
||||
})
|
||||
|
||||
|
@ -2,11 +2,11 @@
|
||||
<html ${htmlAttrs}>
|
||||
<head>
|
||||
${head}
|
||||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@docsearch/css" />
|
||||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@docsearch/css@alpha" />
|
||||
</head>
|
||||
<body ${bodyAttrs}>
|
||||
${app}
|
||||
${scripts}
|
||||
<script type="text/javascript" src="https://cdn.jsdelivr.net/npm/@docsearch/js"></script>
|
||||
<script type="text/javascript" src="https://cdn.jsdelivr.net/npm/@docsearch/js@alpha"></script>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -10,6 +10,15 @@ Prism.manual = true
|
||||
export default function (Vue, { head }) {
|
||||
head.htmlAttrs = { 'data-theme': 'dark' }
|
||||
|
||||
// fix docsearch
|
||||
if (!window.process) {
|
||||
window.process = {
|
||||
env: {
|
||||
NODE_ENV: 'production',
|
||||
},
|
||||
}
|
||||
}
|
||||
|
||||
Vue.use(PortalVue)
|
||||
Vue.component('Layout', App)
|
||||
Vue.component('Demo', () => import(/* webpackChunkName: "demo" */ '~/components/Demo'))
|
||||
|
Loading…
Reference in New Issue
Block a user