You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 90007de
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: CHANGELOG.md
+5Lines changed: 5 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,10 @@
1
1
# Changelog
2
2
3
+
## Unreleased
4
+
5
+
### Added
6
+
- Added a **Rich Text Toolbar** field setting to choose the formatting buttons in rich-text cells, with new underline, strikethrough, subscript, superscript and inline code options ([#84](https://github.com/verbb/tablemaker/issues/84)).
Copy file name to clipboardExpand all lines: docs/feature-tour/field.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -24,7 +24,7 @@ Turn on **Enable Caption** when each table needs a descriptive title, such as
24
24
25
25
Use **Allowed Column Types** to limit the choices in **Configure**. For this schedule, allow Row heading, Date, Dropdown, Number, Lightswitch and Multi-line text. Choose **All** to make every built-in type available. Changing this setting preserves existing columns and their values. An existing column keeps its current type as a choice; new columns and type changes use the allowed choices.
26
26
27
-
**Rich text** is available as a column choice only when CKEditor 5.0 or later is installed and enabled. Rich-text cells show a compact formatted preview so paragraphs, emphasis, links and lists remain distinguishable from plain multiline text. By default, selecting that preview opens a focused modal editor with bold, italic, link and list controls. The field setting **Rich Text Editing Mode** can instead opt a simple table into inline editing; only the active cell creates an editor, and its row expands while it is being edited. Modal editing remains recommended for tables with several columns. **Rich Text Link Types** controls whether editors can select Entries, Categories and Assets as link targets; standard URL links remain available. Element links retain Craft reference tags so generated table HTML follows later URI changes. If CKEditor is disabled, uninstalled or older than version 5.0, existing rich-text columns and their content are preserved and the cells fall back to raw HTML textareas until a supported version is available again.
27
+
**Rich text** is available as a column choice only when CKEditor 5.0 or later is installed and enabled. Rich-text cells show a compact formatted preview so paragraphs, emphasis, links and lists remain distinguishable from plain multiline text. By default, selecting that preview opens a focused modal editor with bold, italic, link and list controls. The field setting **Rich Text Toolbar** chooses which formatting buttons editors see, from bold, italic, underline, strikethrough, subscript, superscript, inline code, links, bulleted lists and numbered lists; undo and redo are always available. Saved HTML keeps every format the toolbar can offer, so removing a button only changes the editor and never strips existing content. The field setting **Rich Text Editing Mode** can instead opt a simple table into inline editing; only the active cell creates an editor, and its row expands while it is being edited. Modal editing remains recommended for tables with several columns. **Rich Text Link Types** controls whether editors can select Entries, Categories and Assets as link targets; standard URL links remain available. Element links retain Craft reference tags so generated table HTML follows later URI changes. If CKEditor is disabled, uninstalled or older than version 5.0, existing rich-text columns and their content are preserved and the cells fall back to raw HTML textareas until a supported version is available again.
28
28
29
29
Set **Min Rows**, **Max Rows**, **Min Columns** or **Max Columns** when the design requires bounds. For example, a minimum of two columns keeps a plan name and price together, while a maximum of four prevents a comparison table from growing too wide. **Add Row Label** lets you give the add action a name suited to the content, such as “Add a plan”.
Copy file name to clipboardExpand all lines: src/translations/en/tablemaker.php
+12Lines changed: 12 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -10,15 +10,27 @@
10
10
'Alignment' => 'Alignment',
11
11
'Allowed Column Types' => 'Allowed Column Types',
12
12
'Automatic' => 'Automatic',
13
+
'Bold' => 'Bold',
14
+
'Bulleted list' => 'Bulleted list',
13
15
'Caption' => 'Caption',
14
16
'Caption Instructions' => 'Caption Instructions',
15
17
'Caption Label' => 'Caption Label',
16
18
'Caption Placeholder' => 'Caption Placeholder',
19
+
'Choose the formatting buttons available when editing rich-text cells.' => 'Choose the formatting buttons available when editing rich-text cells.',
17
20
'CKEditor could not be loaded. You can edit the HTML directly instead.' => 'CKEditor could not be loaded. You can edit the HTML directly instead.',
21
+
'Code' => 'Code',
18
22
'Enable Caption' => 'Enable Caption',
23
+
'Italic' => 'Italic',
24
+
'Link' => 'Link',
25
+
'Numbered list' => 'Numbered list',
26
+
'Rich Text Toolbar' => 'Rich Text Toolbar',
27
+
'Strikethrough' => 'Strikethrough',
28
+
'Subscript' => 'Subscript',
29
+
'Superscript' => 'Superscript',
19
30
'The caption field instructions shown to editors.' => 'The caption field instructions shown to editors.',
20
31
'The caption field label shown to editors.' => 'The caption field label shown to editors.',
21
32
'The caption field placeholder text.' => 'The caption field placeholder text.',
33
+
'Underline' => 'Underline',
22
34
'Whether editors can set a caption for each table value.' => 'Whether editors can set a caption for each table value.',
23
35
'Center' => 'Center',
24
36
'Select which column types editors can pick when editing columns. Rich text requires CKEditor 5.0 or later to be installed and enabled.' => 'Select which column types editors can pick when editing columns. Rich text requires CKEditor 5.0 or later to be installed and enabled.',
0 commit comments