()
| 126 | }, |
| 127 | |
| 128 | addProseMirrorPlugins() { |
| 129 | return [ |
| 130 | ...(this.parent?.() || []), |
| 131 | PrismPlugin({ |
| 132 | name: this.name, |
| 133 | defaultLanguage: this.options.defaultLanguage, |
| 134 | defaultTheme: this.options.defaultTheme, |
| 135 | }), |
| 136 | ]; |
| 137 | }, |
| 138 | }), |
| 139 | ({ node, style }) => { |
| 140 | const language = node.attrs?.language |
nothing calls this directly
no test coverage detected