e711290d8b
Had to do some manual fixing of the app.js file due to misplaced comments
15 lines
348 B
JavaScript
15 lines
348 B
JavaScript
/**
|
|
* A simple component to render a code editor within the textarea
|
|
* this exists upon.
|
|
*/
|
|
import {Component} from './component';
|
|
|
|
export class CodeTextarea extends Component {
|
|
|
|
async setup() {
|
|
const {mode} = this.$opts;
|
|
const Code = await window.importVersioned('code');
|
|
Code.inlineEditor(this.$el, mode);
|
|
}
|
|
|
|
}
|