Skip to content

Commit 32b610a

Browse files
committed
Some more work done for Redactor 3
1 parent 4ddf09c commit 32b610a

File tree

6 files changed

+24
-2
lines changed

6 files changed

+24
-2
lines changed

en/04_Redactor/02_v3.x/02_Configuration_Sets.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,3 +49,11 @@ To learn how to configure what set to use in different places, see:
4949
- [Template variables](Usage/Template_Variables)
5050
- [ContentBlocks fields](Usage/ContentBlocks)
5151
- [Third-party extra](Usage/Third_Party_Extras)
52+
53+
## Custom Preview Contents
54+
55+
By default the configurator shows some dummy text. Some lorum ipsum, an image, some links and various formatting.
56+
57+
If you'd rather use custom content for the preview (for example to showcase custom styles or other elements), you can do so by creating a chunk.
58+
59+
Create a chunk named `redactor_configurator_preview`, and provide your content. Refresh the configurator.

en/04_Redactor/02_v3.x/Features/Source.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,9 @@ To enable it, make sure "Allow Source Mode" is enabled in the Source section of
77
## Syntax highlighting
88

99
If desired, you can enable CodeMirror syntax highlighting for easier use of the source. Under the "Source" section of the configurator, make sure "Enable CodeMirror" is enabled.
10+
11+
## Beautifying source code
12+
13+
By enabling _Beautify source code_ in the Source section, the markup can be reformatted for you, adding the proper indentation and newlines and such. This uses [js-beautify](https://github.com/beautify-web/js-beautify).
14+
15+
Beautifying the markup will happen at most once every 3 seconds while editing content. It can also be forced by toggling the source view. If you're experiencing performance issues on large pages, please contact support.

en/04_Redactor/02_v3.x/Themes/index.md

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,20 @@ The redactor2 theme mimics the styling from Redactor 2.x. It's not an exact matc
1818

1919
![Redactor 2 inspired theme for Redactor 3](redactor2.jpg)
2020

21+
### minimal
22+
23+
The minimal theme provides a flat toolbar without shadows or rounded borders. Taken some inspiration from TinyMCE.
24+
25+
![Minimal theme for Redactor](minimal.jpg)
26+
2127
### dark
2228

2329
The dark theme inverses the color while using a blue for headers and links.
2430

2531
![Dark theme for Redactor 3](dark.jpg)
2632

33+
Note that a dynamic dark mode is also available for most themes; add the `toggledark` button to your toolbar configuration to use it. More on that below.
34+
2735
### pride
2836

2937
Looking to spread some _love is love_? The pride theme splashes a rainbows on your toolbar. (Unicorns are still awaiting delivery.)
@@ -42,13 +50,13 @@ Aside from the Dark theme, shown before, you can also use a dynamic dark mode. T
4250

4351
To use it, add `toggledark` to your Toolbar Buttons in the configurator. Then find the toggle button in the toolbar.
4452

45-
The dark mode works best with the `default`, `redactor2`, and `pride` themes. Shown below is the toggling in action with the redactor2 theme.
53+
The dark mode works best with the `default`, `redactor2` and `minimal` themes. Shown below is the toggling in action with the redactor2 theme.
4654

4755
<video width="500" height="163" autoplay="autoplay" muted loop playsinline poster="../images/darkmode.jpg" src="../images/darkmode.mp4" type="video/mp4">
4856
<img src="../images/darkmode.gif" alt="Toggling dark mode">
4957
</video>
5058

51-
When toggling the default theme, that switches to the dark theme. The redactor2 and pride themes have different dark toolbar styles.
59+
When toggling the default theme, that switches to the dark theme. The other themes have their own dark styles which may be slightly different.
5260

5361
Toggling the dark theme does not have any effect.
5462

58.2 KB
Loading
420 KB
Loading
1.18 MB
Binary file not shown.

0 commit comments

Comments
 (0)