Commit 5f165a50 authored by Giannis Kopanas's avatar Giannis Kopanas Committed by Alexandros Georgantas

fix(customtags): connect to editoria

parent 1c50b431
......@@ -147,27 +147,27 @@ const Connected = props => {
return (
<WaxPubsweet
addCustomTags={addCustomTags}
bookComponent={bookComponent}
setState={setState}
editing={editing}
bookComponentId={bookComponentId}
config={config}
editing={editing}
history={history}
key={bookComponent.id}
loading={loading}
lockBookComponent={lockBookComponent}
onUnlocked={onUnlocked}
renameBookComponent={renameBookComponent}
rules={rules}
setState={setState}
tags={tags}
teamsLoading={teamsLoading}
unlockBookComponent={unlockBookComponent}
updateCustomTags={updateTags}
addCustomTags={addCustomTags}
updateBookComponentContent={updateBookComponentContent}
updateBookComponentTrackChanges={updateBookComponentTrackChanges}
uploadFile={uploadFile}
user={user}
onUnlocked={onUnlocked}
waxLoading={waxLoading}
/>
)
......
......@@ -252,7 +252,7 @@ export class WaxPubsweet extends React.Component {
}
renderWax(editing) {
const { bookComponent, history, user } = this.props
const { bookComponent, history, user, tags } = this.props
const waxConfig = {
layout: config.wax.layout,
lockWhenEditing: config.wax.lockWhenEditing,
......@@ -385,6 +385,7 @@ export class WaxPubsweet extends React.Component {
chapterNumber={chapterNumber}
className="editor-wrapper"
content={content}
customTags={tags}
editing={translatedEditing}
fileUpload={this.fileUpload}
history={history}
......
Markdown is supported
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