Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Table caption feature #9242

Merged
merged 76 commits into from
May 7, 2021
Merged
Changes from 1 commit
Commits
Show all changes
76 commits
Select commit Hold shift + click to select a range
1666340
Add downcast.
maxbarnas Feb 23, 2021
05801af
Simplified conversion.
maxbarnas Mar 3, 2021
10666d2
Data and editing downcasting of table captions.
maxbarnas Mar 8, 2021
eabc2f7
Update postfixers. Clean up a bit.
maxbarnas Mar 8, 2021
034f257
Upcast fixes.
maxbarnas Mar 9, 2021
8785049
Typo.
maxbarnas Mar 9, 2021
81f7437
Docs improvements.
maxbarnas Mar 9, 2021
7b09f1c
Add test.
maxbarnas Mar 9, 2021
24d5fa5
Remove export.
maxbarnas Mar 10, 2021
3d7af2a
Review fixes.
niegowski Mar 10, 2021
12bd828
Update tests.
maxbarnas Mar 10, 2021
4a23f33
Clean up tests.
maxbarnas Mar 11, 2021
b3c1c3a
Editing view test.
maxbarnas Mar 11, 2021
7719969
Merge pull request #9187 from ckeditor/i/9084
niegowski Mar 15, 2021
2814a79
Merge remote-tracking branch 'origin/master' into i/3204-table-caption
maxbarnas Mar 17, 2021
24dd854
Add postfixer.
maxbarnas Mar 10, 2021
6f719fe
Add postfixer for repeated captions.
maxbarnas Mar 10, 2021
4a2d6d2
Update postfixer. Merge multiple captions into one and move it to the…
maxbarnas Mar 11, 2021
f10e232
Update TableUtils.
maxbarnas Mar 11, 2021
4f17391
More incorrect row counting fixed.
maxbarnas Mar 12, 2021
1a50e8f
Merge scattered captions into one. Update tests. Keep postfixer in se…
maxbarnas Mar 15, 2021
922408d
Update tests.
maxbarnas Mar 15, 2021
7596af2
Review fixes.
maxbarnas Mar 16, 2021
f81e2e4
Merge remote-tracking branch 'origin/master' into i/3204-table-caption
maxbarnas Mar 23, 2021
cf25917
Merge branch 'i/3204-table-caption' into i/9105-table-algorithms
maxbarnas Mar 23, 2021
0541ef5
Add table caption UI.
maxbarnas Mar 17, 2021
2303a3c
Update placement of the toolbar.
maxbarnas Mar 19, 2021
d0a868a
Allow toggling the caption from both the table and content toolbar.
maxbarnas Mar 22, 2021
cd4e637
Clean up the code. Add tests.
maxbarnas Mar 23, 2021
4924bdf
Add styles.
maxbarnas Mar 24, 2021
aa5aee1
Fix QA review issue: table cell buttons enabled when in caption.
maxbarnas Mar 26, 2021
98d7aa3
Fix QA issues: default focus on caption hiding, placeholder styling.
maxbarnas Mar 26, 2021
9cb8fd0
Update tests.
maxbarnas Mar 29, 2021
c782eec
Initial docs update.
maxbarnas Mar 30, 2021
f690859
Merge branch 'master' into i/3204-table-caption
niegowski Mar 30, 2021
88bb8db
Merge branch 'i/3204-table-caption' into i/9105-table-algorithms
niegowski Mar 30, 2021
fe67c4b
Fixed TableWalker ignoring non tableRow elements.
niegowski Mar 30, 2021
79bcea1
Apply suggestions from code review
maxbarnas Mar 30, 2021
f629562
Doc update.
maxbarnas Mar 30, 2021
681e790
Import entire TableCaption plugin.
maxbarnas Mar 30, 2021
f11d849
Review fixes.
maxbarnas Mar 31, 2021
552fa33
WIP: tableutils.
maxbarnas Apr 8, 2021
ca5b0e9
Review fixes for tableutils.
maxbarnas Apr 12, 2021
2ad76b9
Update comment.
maxbarnas Apr 13, 2021
032d356
Review fixes.
maxbarnas Apr 14, 2021
4fd63b7
Merge remote-tracking branch 'origin/master' into i/3204-table-caption
maxbarnas Apr 16, 2021
7be53fd
Merge branch 'i/3204-table-caption' into i/9105-table-algorithms
maxbarnas Apr 16, 2021
2d7fe6d
Merge branch 'i/9105-table-algorithms' into i/9104-caption-toolbar
maxbarnas Apr 16, 2021
1e24af8
Add tests.
maxbarnas Apr 19, 2021
2598cfd
Docs and CSS.
maxbarnas Apr 19, 2021
aa8d950
Proper imports in tests. Moved the doc section up.
maxbarnas Apr 20, 2021
7cbf15d
Update packages/ckeditor5-table/tests/tableutils.js
maxbarnas Apr 22, 2021
7fc744d
Removed unnecessary checks in split*Cell methods, updated tests.
maxbarnas Apr 22, 2021
5a972db
Rename `getClosestParentTable` to `getSelectionAffectedTable`.
maxbarnas Apr 22, 2021
26ae590
Remove `tableToolbar` config from manual tests.
maxbarnas Apr 22, 2021
c97ceac
Misc review fixes.
maxbarnas Apr 22, 2021
ef70403
Wrong test desc fixed.
maxbarnas Apr 22, 2021
1846a39
Merge pull request #9209 from ckeditor/i/9105-table-algorithms
niegowski Apr 22, 2021
e1be5bf
Cleanup.
maxbarnas Apr 22, 2021
89f7743
New section in docs for installation of the table caption plugin.
maxbarnas Apr 22, 2021
2d8fa7f
Merge pull request #9263 from ckeditor/i/9104-caption-toolbar
niegowski Apr 22, 2021
75d586c
Merge remote-tracking branch 'origin/i/3204-table-caption' into i/908…
maxbarnas Apr 22, 2021
0756be7
Docs for table caption got a demo snippet.
maxbarnas Apr 22, 2021
eb6b39c
Revert table tour ballong removal.
maxbarnas Apr 26, 2021
fb58c54
Change the demo of table caption feature.
maxbarnas Apr 26, 2021
3bf7aa7
Merge remote-tracking branch 'origin/master' into i/3204-table-caption
maxbarnas Apr 26, 2021
9387759
Merge branch 'i/3204-table-caption' into i/9085-table-caption-docs
maxbarnas Apr 26, 2021
522c293
Update demo of table caption.
maxbarnas Apr 26, 2021
fb8c775
Merge pull request #9384 from ckeditor/i/9085-table-caption-docs
niegowski Apr 26, 2021
6c797b9
Store a caption in TableCaptionEditing caption registry.
maxbarnas Apr 29, 2021
5b5ec29
Merge remote-tracking branch 'origin/master' into i/3204-table-caption
maxbarnas Apr 29, 2021
d01f4ad
Merge branch 'i/3204-table-caption' into i/9543-table-caption-storage
maxbarnas Apr 29, 2021
32f157f
Fixed the test.
niegowski May 5, 2021
424190d
Apply suggestions from code review
niegowski May 5, 2021
8424e05
Merge pull request #9590 from ckeditor/i/9543-table-caption-storage
niegowski May 5, 2021
43f07af
Merge branch 'master' into i/3204-table-caption
niegowski May 7, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Remove export.
  • Loading branch information
maxbarnas committed Mar 10, 2021
commit 24d5fa5e2db3fa91488e91d0c117adce7ee3d946
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ export default class TableCaptionEditing extends Plugin {
// @param {module:engine/view/element~Element} element
// @returns {Object|null} Returns the object accepted by {@link module:engine/view/matcher~Matcher} or `null` if the element
// cannot be matched.
export function matchTableCaptionViewElement( element ) {
function matchTableCaptionViewElement( element ) {
const parent = element.parent;

if ( element.name == 'figcaption' && parent && parent.name == 'figure' && parent.hasClass( 'table' ) ) {
Expand Down