Skip to content

Commit

Permalink
Merge pull request #61 from cloudogu/feature/59_local_plantuml_server
Browse files Browse the repository at this point in the history
#59 Use PlantUML render server of the CES
  • Loading branch information
TLNBS2405 authored May 29, 2018
2 parents e601123 + bf2fd6c commit 3db4f4c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions src/main/js/wiki/components/Markdown.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
import React from 'react';
import injectSheet from 'react-jss';

import Viewer from 'tui-editor/dist/tui-editor-Viewer';
import Editor from 'tui-editor/dist/tui-editor-Editor';
import 'tui-editor/dist/tui-editor-extTable';
import 'tui-editor/dist/tui-editor-extScrollSync';
Expand All @@ -29,7 +28,7 @@ class Markdown extends React.Component<Props> {
viewer: true,
initialEditType: 'markdown',
initialValue: this.props.content,
exts: ['colorSyntax', 'uml', 'chart', 'mark', 'table', 'taskCounter', 'history'],
exts: ['colorSyntax', {name: 'uml', rendererURL: '/plantuml/png/'}, 'chart', 'mark', 'table', 'taskCounter', 'history'],
});
}

Expand Down
2 changes: 1 addition & 1 deletion src/main/js/wiki/components/MarkdownEditor.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ class MarkdownEditor extends Component<Props,State> {
previewStyle: 'vertical',
initialEditType: 'markdown',
initialValue: this.props.content,
exts: ['scrollSync', 'colorSyntax', 'uml', 'chart', 'mark', 'table', 'taskCounter']
exts: ['scrollSync', 'colorSyntax', {name: 'uml', rendererURL: '/plantuml/png/'}, 'chart', 'mark', 'table', 'taskCounter']
});
}

Expand Down

0 comments on commit 3db4f4c

Please sign in to comment.