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

Introduce mark operation to Text.setStyle #647

Draft
wants to merge 25 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
0fbf4f2
Add quill example for two clients test
MoonGyu1 Aug 31, 2023
b48f364
Add testcases related bold mark
MoonGyu1 Sep 8, 2023
67a23ea
Add to-do list
MoonGyu1 Sep 11, 2023
79c4f41
Update protocol
MoonGyu1 Sep 15, 2023
7a9bcfd
Generating setStyle operations
MoonGyu1 Sep 15, 2023
482e252
Skip testcases related to bold type
MoonGyu1 Sep 15, 2023
5bef0ad
Add boundary type 'none' and apply lint
MoonGyu1 Sep 15, 2023
899a21f
Add new StyleOperation interface
MoonGyu1 Sep 15, 2023
ee7eb19
Applying operations to anchor
MoonGyu1 Sep 15, 2023
a233b0e
Convert operations to attrs of toJSON
MoonGyu1 Sep 15, 2023
812343e
Remove skip related to addMark of bold type
MoonGyu1 Sep 15, 2023
19a7996
Add skip related to bug of Text.setStyle logic
MoonGyu1 Sep 15, 2023
1d385a5
Optimize the logic of setStyle
MoonGyu1 Sep 17, 2023
19597e3
Add last node to toBeStyleds if boundary type is End
MoonGyu1 Sep 17, 2023
2020e6c
Remove unnecessary logic
MoonGyu1 Sep 17, 2023
633e858
Update toTextNodes of converter
MoonGyu1 Sep 18, 2023
68d4d3d
Apply ops when get text values
MoonGyu1 Sep 18, 2023
3f4744d
Fix error
MoonGyu1 Sep 18, 2023
7ab0076
Merge branch 'main' of https://github.com/yorkie-team/yorkie-js-sdk i…
chacha912 Sep 18, 2023
ce14cb0
Add fields markOpsBefore and markOpsAfter to TextNode in protobuf
chacha912 Sep 18, 2023
adb5d78
Fix bug where style operationInfo is missing after removed node
chacha912 Sep 18, 2023
1561e39
Merge remote-tracking branch 'origin/main' into peritext
chacha912 Oct 4, 2023
22abd38
Merge branch 'main' of https://github.com/yorkie-team/yorkie-js-sdk i…
chacha912 Oct 9, 2023
7c2b258
Merge remote-tracking branch 'origin/main' into peritext
chacha912 Oct 17, 2023
7f9b76e
Apply anchor style when creating a change during text insertion
chacha912 Oct 17, 2023
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
30 changes: 30 additions & 0 deletions public/quill-two-clients.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
.client-container {
display: flex;
width: 95%;
}
.client-container .ql-toolbar {
margin-top: 10px;
}
.client-container .ql-container {
height: 400px;
}
#client-a,
#client-b {
width: 50%;
margin: 15px;
}

.document,
.document-text {
margin: 1rem 0;
font-family: monospace;
overflow: scroll;
}
.document:before {
display: block;
content: 'document: ';
}
.document-text:before {
display: block;
content: 'text: ';
}
Loading
Loading