mirror of
https://github.com/laurent22/joplin.git
synced 2024-11-24 08:12:24 +02:00
Changed tag label
This commit is contained in:
parent
cf2442c5b2
commit
f42fb1b871
@ -366,7 +366,7 @@ function NoteEditor(props: NoteEditorProps) {
|
||||
let control = null;
|
||||
if (!props.selectedNoteTags.length) {
|
||||
const noteIds = [formNote.id];
|
||||
control = <span onClick={() => { CommandService.instance().execute('setTags', { noteIds }); }} style={theme.clickableTextStyle}>Click to add some tags...</span>;
|
||||
control = <span onClick={() => { CommandService.instance().execute('setTags', { noteIds }); }} style={theme.clickableTextStyle}>Click to add tags...</span>;
|
||||
} else {
|
||||
control = <TagList items={props.selectedNoteTags} />;
|
||||
}
|
||||
|
@ -148,7 +148,6 @@ class NoteTextViewerComponent extends React.Component<Props, any> {
|
||||
// ----------------------------------------------------------------
|
||||
|
||||
render() {
|
||||
console.info('RRRRRRRRRRRRRRRRRRRRRRR');
|
||||
const viewerStyle = Object.assign({}, { border: 'none' }, this.props.viewerStyle);
|
||||
return <iframe className="noteTextViewer" ref={this.webviewRef_} style={viewerStyle} src="gui/note-viewer/index.html"></iframe>;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user