odoo links deleted
This commit is contained in:
parent
4f27a23395
commit
1a10966256
|
@ -11,7 +11,7 @@ export class DocumentSelector extends FileSelector {
|
||||||
super.setup();
|
super.setup();
|
||||||
|
|
||||||
this.uploadText = _t("Upload a document");
|
this.uploadText = _t("Upload a document");
|
||||||
this.urlPlaceholder = "https://www.odoo.com/mydocument";
|
this.urlPlaceholder = "#";
|
||||||
this.addText = _t("Add URL");
|
this.addText = _t("Add URL");
|
||||||
this.searchPlaceholder = _t("Search a document");
|
this.searchPlaceholder = _t("Search a document");
|
||||||
this.allLoadedText = _t("All documents have been loaded");
|
this.allLoadedText = _t("All documents have been loaded");
|
||||||
|
|
|
@ -62,7 +62,7 @@ export class ImageSelector extends FileSelector {
|
||||||
this.NUMBER_OF_MEDIA_TO_DISPLAY = 10;
|
this.NUMBER_OF_MEDIA_TO_DISPLAY = 10;
|
||||||
|
|
||||||
this.uploadText = _t("Upload an image");
|
this.uploadText = _t("Upload an image");
|
||||||
this.urlPlaceholder = "https://www.odoo.com/logo.png";
|
this.urlPlaceholder = "#";
|
||||||
this.addText = _t("Add URL");
|
this.addText = _t("Add URL");
|
||||||
this.searchPlaceholder = _t("Search an image");
|
this.searchPlaceholder = _t("Search an image");
|
||||||
this.urlWarningTitle = _t("Uploaded image's format is not supported. Try with: " + IMAGE_EXTENSIONS.join(', '));
|
this.urlWarningTitle = _t("Uploaded image's format is not supported. Try with: " + IMAGE_EXTENSIONS.join(', '));
|
||||||
|
|
|
@ -1733,7 +1733,7 @@ describe('Paste', () => {
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
it('should paste and transform URL among text', async () => {
|
it('should paste and transform URL among text', async () => {
|
||||||
const url = 'https://www.odoo.com';
|
const url = '#';
|
||||||
const imgUrl = 'https://download.odoocdn.com/icons/website/static/description/icon.png';
|
const imgUrl = 'https://download.odoocdn.com/icons/website/static/description/icon.png';
|
||||||
const videoUrl = 'https://www.youtube.com/watch?v=dQw4w9WgXcQ';
|
const videoUrl = 'https://www.youtube.com/watch?v=dQw4w9WgXcQ';
|
||||||
await testEditor(BasicEditor, {
|
await testEditor(BasicEditor, {
|
||||||
|
@ -1765,7 +1765,7 @@ describe('Paste', () => {
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
it('should paste and transform multiple URLs', async () => {
|
it('should paste and transform multiple URLs', async () => {
|
||||||
const url = 'https://www.odoo.com';
|
const url = '#';
|
||||||
const imgUrl = 'https://download.odoocdn.com/icons/website/static/description/icon.png';
|
const imgUrl = 'https://download.odoocdn.com/icons/website/static/description/icon.png';
|
||||||
const videoUrl = 'https://www.youtube.com/watch?v=dQw4w9WgXcQ';
|
const videoUrl = 'https://www.youtube.com/watch?v=dQw4w9WgXcQ';
|
||||||
await testEditor(BasicEditor, {
|
await testEditor(BasicEditor, {
|
||||||
|
@ -1862,7 +1862,7 @@ describe('Paste', () => {
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
it('should paste and transform URLs among text or multiple URLs', async () => {
|
it('should paste and transform URLs among text or multiple URLs', async () => {
|
||||||
const url = 'https://www.odoo.com';
|
const url = '#';
|
||||||
const imgUrl = 'https://download.odoocdn.com/icons/website/static/description/icon.png';
|
const imgUrl = 'https://download.odoocdn.com/icons/website/static/description/icon.png';
|
||||||
const videoUrl = 'https://www.youtube.com/watch?v=dQw4w9WgXcQ';
|
const videoUrl = 'https://www.youtube.com/watch?v=dQw4w9WgXcQ';
|
||||||
await testEditor(BasicEditor, {
|
await testEditor(BasicEditor, {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user