Skip to content

Commit

Permalink
chore(client): Fix tinymce import specificity
Browse files Browse the repository at this point in the history
  • Loading branch information
fushar committed Dec 29, 2023
1 parent 1644b89 commit dafd335
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions judgels-client/.prettierrc.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"arrowParens": "avoid",
"importOrder": [
"^tinymce/(plugins|themes)",
"^ace-",
"^react-syntax-highlighter/",
"^(?!.*(Actions|.s?css|/routes/App)$)[./]",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
import { PureComponent } from 'react';
import tinymce from 'tinymce/tinymce';

import 'tinymce/plugins/code';
import 'tinymce/plugins/image';
import 'tinymce/plugins/link';
import 'tinymce/plugins/lists';
import 'tinymce/plugins/paste';
import 'tinymce/themes/modern/theme';
import tinymce from 'tinymce/tinymce';

export class TinyMCETextArea extends PureComponent {
componentDidMount() {
Expand Down

0 comments on commit dafd335

Please sign in to comment.