This page has no editor to test whether devTools unmounts properly.
14 |16 | Github repo 17 |
18 |16 | Github repo 17 |
18 |An example React app with ProseMirror editor that uses prosemirror-dev-toolkit.
19 |24 | This page mounts a ProseMirror editor without any extra props and it's used in Cypress 25 | tests 26 |
27 |18 | This page contains ProseMirror instances, two of them inside iframe to debug the Chrome 19 | extension. 20 |
21 |Like this one!
Try it out by typing in here or see more examples.
' 29 | }, 30 | { 31 | size: 240, 32 | element: 33 | 'Like this one!
Try it out by typing in here or see more examples.
' 34 | } 35 | ] 36 | } 37 | } as PopUpState 38 | } 39 | 40 | export function init() { 41 | if (chrome.runtime) { 42 | const created = chrome.runtime.connect({ 43 | name: 'pm-devtools-pop-up' 44 | }) 45 | created.onMessage.addListener(listenPort) 46 | created.onDisconnect.addListener(() => { 47 | port.set(undefined) 48 | }) 49 | port.set(created) 50 | } else { 51 | listenPort(EXAMPLE) 52 | } 53 | } 54 | 55 | export function sendThis editor uses Yjs collaboration which handles the updates to the editor state
66 |