Skip to content

Commit

Permalink
Fixes: Setting by adding default values (for testDefaultImageDoesNotS…
Browse files Browse the repository at this point in the history
…toreAnySetting )
  • Loading branch information
Ducasse committed Aug 19, 2020
1 parent 26fa9a1 commit eb6fd8d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Pillar-ExporterRichText/PRRichTextComposer.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -226,12 +226,14 @@ PRRichTextComposer class >> preferencesSettingsOn: aBuilder [
(aBuilder setting: #offline)
label: 'To set offline mode';
target: self;
default: false;
description: '
When oneline is chosen, requests to external images are only performed when they are not in the image cache (since requesting systematically HTTP may lead of latency. Each figure is cached, so the request is at most done one per external references. When the system is online but the request failed we return a placeholder that is not cached.
When offline, requests to external images are not performed. The cache can be reset executing PRRichTextComposer resetCache. When the system is off line and an image is requested, a placeholder is computed but not put in the cache. This way when the system is put online the requested elements will be requested and put in the cache (without needing to flush placeholders from the cache).'.
(aBuilder setting: #notRendering)
label: 'To set off the rendering in richtext';
default: false;
target: self;
description: 'Comments are by default rendered via Pillar in Richtext. When this setting is on, they are rendered as plain text (showing their Microdown definitions).'.

Expand Down

0 comments on commit eb6fd8d

Please sign in to comment.