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
Compare revisions
6c4b917c5a9175c5582a273179a5026b276a61a2 to 3e9d5a447e0bac864e54b96ab1f7bc44efdb395d
Compare revisions
Changes are shown as if the
source
revision was being merged into the
target
revision.
Learn more about comparing revisions.
Source
alg/knowledge-space-wp-plugin
Select target project
No results found
3e9d5a447e0bac864e54b96ab1f7bc44efdb395d
Select Git revision
Swap
Target
alg/knowledge-space-wp-plugin
Select target project
alg/knowledge-space-wp-plugin
1 result
6c4b917c5a9175c5582a273179a5026b276a61a2
Select Git revision
Show changes
Only incoming changes from source
Include changes to target since source was created
Compare
Commits on Source (2)
Fixed a problem which caused the referenced section to show without any references in it.
· 5aa116ae
Matthias Konitzny
authored
2 years ago
5aa116ae
2.0.0
· 3e9d5a44
Matthias Konitzny
authored
2 years ago
3e9d5a44
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
package-lock.json
+2
-2
2 additions, 2 deletions
package-lock.json
package.json
+1
-1
1 addition, 1 deletion
package.json
src/display/components/nodeinfo/mediaarea.tsx
+2
-2
2 additions, 2 deletions
src/display/components/nodeinfo/mediaarea.tsx
src/editor/editor.tsx
+1
-1
1 addition, 1 deletion
src/editor/editor.tsx
with
6 additions
and
6 deletions
package-lock.json
View file @
3e9d5a44
{
"name": "knowledge-space",
"version": "
1.1.2
",
"version": "
2.0.0
",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"name": "knowledge-space",
"version": "
1.1.2
",
"version": "
2.0.0
",
"license": "ISC",
"dependencies": {
"katex": "^0.16.0",
...
...
This diff is collapsed.
Click to expand it.
package.json
View file @
3e9d5a44
{
"name"
:
"knowledge-space"
,
"version"
:
"
1.1.2
"
,
"version"
:
"
2.0.0
"
,
"description"
:
"A Wordpress-Plugin to display knowledge in a graph-structured way."
,
"source"
:
"index.js"
,
"debug"
:
"build/debug/graph.js"
,
...
...
This diff is collapsed.
Click to expand it.
src/display/components/nodeinfo/mediaarea.tsx
View file @
3e9d5a44
...
...
@@ -23,7 +23,7 @@ interface MediaAreaProps {
* @constructor
*/
function
MediaArea
({
description
,
image
,
video
,
references
}:
MediaAreaProps
)
{
const
text
=
splitAtDelimiters
(
description
,
[
const
text
=
splitAtDelimiters
(
description
??
""
,
[
{
left
:
"
$$
"
,
right
:
"
$$
"
,
display
:
true
},
{
left
:
"
$
"
,
right
:
"
$
"
,
display
:
true
},
]);
...
...
@@ -61,7 +61,7 @@ function MediaArea({ description, image, video, references }: MediaAreaProps) {
/>
)
}
{
references
&&
(
{
references
&&
references
.
length
>
0
&&
(
<
div
className
=
{
"
media-area-references
"
}
>
<
h6
>
Weiterführende Links
</
h6
>
<
References
references
=
{
references
}
/>
...
...
This diff is collapsed.
Click to expand it.
src/editor/editor.tsx
View file @
3e9d5a44
...
...
@@ -488,7 +488,7 @@ export class Editor extends React.PureComponent<any, stateTypes> {
}
/**
* @param
new
Id Explicit id of space that should be deleted.
* @param
space
Id Explicit id of space that should be deleted.
*/
private
deleteSpace
(
spaceId
:
string
):
Promise
<
void
>
{
return
deleteGraphJson
(
spaceId
).
then
(()
=>
{
...
...
This diff is collapsed.
Click to expand it.