Skip to content

Commit

Permalink
Enable rich editor by default (#5262)
Browse files Browse the repository at this point in the history
  • Loading branch information
palatter authored Oct 4, 2024
1 parent e4250e4 commit 410d3ea
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion samples/CallWithChat/src/app/views/HomeScreen.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ export const HomeScreen = (props: HomeScreenProps): JSX.Element => {
];

/* @conditional-compile-remove(rich-text-editor-composite-support) */
const [isRichTextEditorEnabled, setIsRichTextEditorEnabled] = useState<boolean>(false);
const [isRichTextEditorEnabled, setIsRichTextEditorEnabled] = useState<boolean>(true);

// Get display name from local storage if available
const defaultDisplayName = localStorageAvailable ? getDisplayNameFromLocalStorage() : null;
Expand Down
2 changes: 1 addition & 1 deletion samples/Chat/src/app/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ export default (): JSX.Element => {
const [threadId, setThreadId] = useState('');
const [endpointUrl, setEndpointUrl] = useState('');
/* @conditional-compile-remove(rich-text-editor-composite-support) */
const [isRichTextEditorEnabled, setIsRichTextEditorEnabled] = useState(false);
const [isRichTextEditorEnabled, setIsRichTextEditorEnabled] = useState(true);

const renderPage = (): JSX.Element => {
switch (page) {
Expand Down

0 comments on commit 410d3ea

Please sign in to comment.