Skip to content

Commit 256e0db

Browse files
committed
Add paragraph annotation type to wiener kreis guidelines
1 parent d220883 commit 256e0db

File tree

2 files changed

+15
-0
lines changed

2 files changed

+15
-0
lines changed

guidelines.wiener-kreis.json

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,7 @@
135135
"category": "layout",
136136
"defaultSelected": false,
137137
"isZeroPoint": false,
138+
"isSeparator": true,
138139
"shortcut": ["Ctrl", "Shift", "L"],
139140
"hasAdditionalTexts": true,
140141
"properties": [
@@ -146,6 +147,16 @@
146147
"visible": true
147148
}
148149
]
150+
},
151+
{
152+
"type": "paragraph",
153+
"category": "layout",
154+
"defaultSelected": false,
155+
"isZeroPoint": false,
156+
"isSeparator": true,
157+
"shortcut": ["Enter"],
158+
"hasAdditionalTexts": true,
159+
"properties": []
149160
}
150161
],
151162
"properties": {

styles/styles.wiener-kreis.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,10 @@ Fix by changing classlists or annotation types? */
103103
background-image: url('https://raw.githubusercontent.com/THM-Graphs/atag-editor/refs/heads/main/client/public/icons/receivedPerson.svg');
104104
}
105105

106+
.annotation-type-icon-paragraph {
107+
background-image: url('https://raw.githubusercontent.com/THM-Graphs/atag-editor/refs/heads/main/client/public/icons/paragraph.svg');
108+
}
109+
106110
/* -------- TODO: Paragraph annotations, remove in the since not customizable...? ---------------------------------------- */
107111

108112
#text > span:has(span.paragraph.end)::after {

0 commit comments

Comments
 (0)