Skip to content

Commit

Permalink
use single white space as a default justification text when creating …
Browse files Browse the repository at this point in the history
…a new proposal - work around to issue #268 in gui
  • Loading branch information
DJWalker42 committed Oct 30, 2024
1 parent 4c98f2a commit 847c3a8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/main/webui/src/ProposalEditorView/proposal/New.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,8 @@ const textFormatData = [
const [submitting, setSubmitting] = useState(false);
const navigate = useNavigate();
const queryClient = useQueryClient();
const emptyJustification : Justification = {text: "", format: "asciidoc"};
//single white space as work around to issue of changing format of default justification
const emptyJustification : Justification = {text: " ", format: "asciidoc"};
const form = useForm({
initialValues: {
title: "",
Expand Down

0 comments on commit 847c3a8

Please sign in to comment.