Skip to content

Commit

Permalink
#762 Removed Dummy text in Richtext image preview
Browse files Browse the repository at this point in the history
Removed Lorem ipsum text in Image Properties preview

Change-Id: Ic2ccf8fb29d0268475df80ae31fb49d868f7ea0d
Signed-off-by: Erwann Traisnel <erwann.traisnel@obeo.fr>
  • Loading branch information
etraisnel2 authored and pdulth committed May 10, 2023
1 parent 1ec7f6f commit a8b2323
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ public final class MDERichTextConstants {
public static final String PAST_FROM_MS_WORD_CLEANER_FILE = "pasteFromWordCleanupFile"; //$NON-NLS-1$
public static final String FORCE_PASTE_AS_PLAIN_TEXT = "forcePasteAsPlainText"; //$NON-NLS-1$
public static final String BASE_HREF ="baseHref"; //$NON-NLS-1$
public static final String IMAGE_PREVIEW ="image_previewText"; //$NON-NLS-1$

public static final String DEFAUTL_CUSTOM_CONFIG = getDefaultCustomConfig("resources/config.js"); //$NON-NLS-1$

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ public MDERichTextFactory(String basePath){
*/
protected void initializeDefaultConfiguration() {
configuration.setOption(MDERichTextConstants.READ_ONLY_MODE, false);
configuration.setOption(MDERichTextConstants.IMAGE_PREVIEW, " ");
configuration.setOption(MDERichTextConstants.PAST_FROM_MS_WORD_PROMPT_CLEANUP, true);
}

Expand Down

0 comments on commit a8b2323

Please sign in to comment.