Skip to content
Snippets Groups Projects
Commit 4fb6f47e authored by chris's avatar chris
Browse files

add atlassian utilities plus move track changes and add licence

parent 12a696b1
No related branches found
No related tags found
1 merge request!61Develop
...@@ -11,7 +11,7 @@ import { EditorState } from "prosemirror-state"; ...@@ -11,7 +11,7 @@ import { EditorState } from "prosemirror-state";
import { EditorView } from "prosemirror-view"; import { EditorView } from "prosemirror-view";
import "prosemirror-view/style/prosemirror.css"; import "prosemirror-view/style/prosemirror.css";
import trackedTransaction from "./track-changes/trackedTransaction"; import { trackedTransaction } from "wax-prosemirror-services";
import { WaxContext } from "./ioc-react"; import { WaxContext } from "./ioc-react";
export default props => { export default props => {
......
...@@ -17,6 +17,9 @@ export { ...@@ -17,6 +17,9 @@ export {
default as TrackChangeService default as TrackChangeService
} from "./src/TrackChangeService/TrackChangeService"; } from "./src/TrackChangeService/TrackChangeService";
export {
default as trackedTransaction
} from "./src/TrackChangeService/track-changes/trackedTransaction";
/* /*
All Elements services All Elements services
*/ */
......
This diff is collapsed.
/* /*
Taken from https://github.com/fiduswriter/fiduswriter as an example till I write This belongs to https://github.com/fiduswriter/fiduswriter
the track changes funcionality check: https://github.com/fiduswriter/fiduswriter/blob/develop/fiduswriter/document/static/js/modules/editor/track/amend_transaction.js
License included in folder.
*/ */
import { Selection, TextSelection } from "prosemirror-state"; import { Selection, TextSelection } from "prosemirror-state";
import { Slice } from "prosemirror-model"; import { Slice } from "prosemirror-model";
import { import {
......
...@@ -7,5 +7,8 @@ ...@@ -7,5 +7,8 @@
"main": "index.js", "main": "index.js",
"scripts": { "scripts": {
"test": "echo \"Error: no test specified\" && exit 1" "test": "echo \"Error: no test specified\" && exit 1"
},
"dependencies": {
"prosemirror-utils": "^0.9.6"
} }
} }
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment