Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Knowledge Space WP Plugin
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
alg
Knowledge Space WP Plugin
Commits
15505085
Commit
15505085
authored
2 years ago
by
Maximilian Giller
Browse files
Options
Downloads
Patches
Plain Diff
Formatting
parent
2938f1a5
No related branches found
No related tags found
1 merge request
!2
Implemented editor in the react framework
Pipeline
#56732
passed
2 years ago
Stage: test
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/editor/js/components/nodedetails.tsx
+3
-2
3 additions, 2 deletions
src/editor/js/components/nodedetails.tsx
with
3 additions
and
2 deletions
src/editor/js/components/nodedetails.tsx
+
3
−
2
View file @
15505085
...
...
@@ -51,7 +51,9 @@ export class NodeDetails extends React.Component<propTypes> {
//TODO: Make sure, that this event is not triggered to quickly!
this
.
props
.
selectedNode
.
description
=
newValue
;
this
.
props
.
selectedNode
.
graph
.
storeCurrentData
(
"
Changed description of node [
"
+
this
.
props
.
selectedNode
.
toString
()
+
"
]
"
"
Changed description of node [
"
+
this
.
props
.
selectedNode
.
toString
()
+
"
]
"
);
this
.
props
.
onChange
();
...
...
@@ -68,7 +70,6 @@ export class NodeDetails extends React.Component<propTypes> {
<
label
htmlFor
=
"node-name"
hidden
>
Name
</
label
>
<
br
/>
<
input
type
=
"text"
id
=
"node-name"
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment