Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Workshops
Developer workshop
Commits
a333c2c4
Commit
a333c2c4
authored
Sep 25, 2020
by
Andy Lamb
Browse files
debugged the composer field. Ugly but functional. Next stop - navigation
parent
b4153411
Pipeline
#40645
failed with stage
in 60 minutes and 1 second
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/app/features/andyTest/components/AndyTestContent.js
View file @
a333c2c4
...
@@ -17,7 +17,7 @@ const AndyTestContent = ({ className, entry }) => {
...
@@ -17,7 +17,7 @@ const AndyTestContent = ({ className, entry }) => {
<
div
className
=
"
eventContent
"
>
<
div
className
=
"
eventContent
"
>
<
h1
className
=
"
pageTitle
"
>
{
entry
.
entryTitle
}
<
/h1
>
<
h1
className
=
"
pageTitle
"
>
{
entry
.
entryTitle
}
<
/h1
>
{
entry
.
co
ntent
&&
(
{
entry
.
co
mposer
&&
(
<
ContentComposerAndy
composer
=
{
entry
.
composer
}
/> /
/
was
postContent
<
ContentComposerAndy
composer
=
{
entry
.
composer
}
/> /
/
was
postContent
)}
)}
<
/div
>
<
/div
>
...
...
src/app/features/composer/components/ComposerAndy.js
View file @
a333c2c4
...
@@ -25,13 +25,13 @@ const ContentComposerAndy = ({ className, composer }) => {
...
@@ -25,13 +25,13 @@ const ContentComposerAndy = ({ className, composer }) => {
case
'
markup
'
:
case
'
markup
'
:
return
(
return
(
<
div
className
=
"
compField markup
"
key
=
{
idx
}
>
<
div
className
=
"
compField markup
"
key
=
{
idx
}
>
{
field
.
value
.
markup
}
{
field
.
value
}
<
/div
>
<
/div
>
);
);
case
'
markupHtml
'
:
case
'
markupHtml
'
:
return
(
return
(
<
div
className
=
"
compField markup
"
key
=
{
idx
}
>
<
div
className
=
"
compField markup
"
key
=
{
idx
}
>
{
field
.
value
.
markupHtml
}
{
field
.
value
}
<
/div
>
<
/div
>
);
);
default
:
default
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment