test
2022-03-21 14:27
199
0
본문
***
`aaa`
```php
function get_editor_js($id, $is_dhtml_editor=true)
{
if ($is_dhtml_editor) {
return "var {$id}_editor_data = tui_{$id}.getMarkdown();\ndocument.getElementById('{$id}').value = {$id}_editor_data;\n";
} else {
return "var {$id}_editor = document.getElementById('{$id}');\n";
}
}
```
```js
const base = require('../../jest.base.config');
module.exports = {
...base,
testEnvironment: 'jsdom',
moduleNameMapper: {
'^@/(.*)$': '/src/$1',
},
};
```
댓글목록0