Skip to content

Commit c1f739c

Browse files
committed
Merge branch '2.0.x' into 2.1.x # Please enter a commit message to explain why this merge is necessary, # especially if it merges an updated upstream into a topic branch. # # Lines starting with '#' will be ignored, and an empty message aborts # the commit.
2 parents 371e679 + d11bff4 commit c1f739c

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

apps/front-office/src/app/graphql.module.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ import { setContext } from '@apollo/client/link/context';
1111
import { WebSocketLink } from '@apollo/client/link/ws';
1212
import { getMainDefinition } from '@apollo/client/utilities';
1313
import { environment } from '../environments/environment';
14+
import extractFiles from 'extract-files/extractFiles.mjs';
15+
import isExtractableFile from 'extract-files/isExtractableFile.mjs';
1416

1517
/**
1618
* Configuration of the Apollo client.
@@ -28,6 +30,7 @@ export const createApollo = (httpLink: HttpLink): ApolloClientOptions<any> => {
2830

2931
const http = httpLink.create({
3032
uri: `${environment.apiUrl}/graphql`,
33+
extractFiles: (body) => extractFiles(body, isExtractableFile),
3134
});
3235

3336
const ws = new WebSocketLink({

libs/safe/src/lib/const/tinymce.const.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -144,6 +144,7 @@ export const EMAIL_EDITOR_CONFIG: RawEditorSettings = {
144144
'shortcuts', // the default shortcuts tab
145145
'keyboardnav', // the default keyboard navigation tab
146146
],
147+
convert_urls: false,
147148
};
148149

149150
/** Field Editor tinymce configuration. */

0 commit comments

Comments
 (0)