Skip to content

Commit

Permalink
Remove scribe editor and related dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
rhystmills committed Oct 20, 2023
1 parent 57b4bea commit a9f66c3
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 166 deletions.
84 changes: 13 additions & 71 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 0 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,6 @@
"reqwest": "^2.0.5",
"sass": "^1.55.0",
"sass-loader": "^8.0.2",
"scribe-editor": "^2.1.1",
"scribe-plugin-keyboard-shortcuts": "^0.1.1",
"scribe-plugin-link-prompt-command": "^0.4.0",
"scribe-plugin-sanitizer": "^0.1.10",
"scribe-plugin-toolbar": "^0.2.2",
"style-loader": "^2.0.0",
"svg-sprite": "^2.0.2",
"url-loader": "^0.5.7",
Expand Down
10 changes: 0 additions & 10 deletions public/components/TagEdit/formComponents/TagDescription.react.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import React from 'react';
import ReactScribe from '../../utils/ReactScribe.react';
import { RichTextEditor, customMultiBlockTextConfig, transformToLegacyMarkup } from '@guardian/prosemirror-editor';


Expand Down Expand Up @@ -29,15 +28,6 @@ export default class TagDescription extends React.Component {
<div className="tag-edit__input-group">
<label className="tag-edit__input-group__header">Description/Profile</label>
<div>
<ReactScribe
onChange={this.updateDescription.bind(this)}
value={this.props.tag.description || ''}
className="tag-edit__richtext"
toolbarClassName="tag-edit__richtext__toolbar"
toolbarItemClassName="tag-edit__richtext__toolbar__item"
editorClassName="tag-edit__richtext__editor"
disabled={!this.props.tagEditable}
/>
<RichTextEditor
value={this.props.tag.description || ''}
onUpdate={this.updateDescription.bind(this)}
Expand Down
80 changes: 0 additions & 80 deletions public/components/utils/ReactScribe.react.js

This file was deleted.

0 comments on commit a9f66c3

Please sign in to comment.