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

Release 2.19.2 #1597

Merged
merged 48 commits into from
Mar 15, 2021
Merged
Changes from 1 commit
Commits
Show all changes
48 commits
Select commit Hold shift + click to select a range
e477621
Resolve editor.destroy() Problem (#1404)
robonetphy Nov 6, 2020
b134fcc
static getter added to mergeble method (#1422)
robonetphy Nov 10, 2020
113e895
fix(interaction): problem with entering to Editor.js by Tab key (#1397)
hata6502 Nov 19, 2020
bfd0ea1
Sanitize pasted block data (#1430)
hata6502 Nov 21, 2020
e319e04
fix(caret): right-arrow on last non-default block (#1416)
neSpecc Nov 21, 2020
f440a60
Replace typeofs (#1434)
khaydarov Nov 21, 2020
585e01b
Basic initialisation test for Editor.js (#1410)
ranemihir Nov 21, 2020
bbbd637
Change shortcut listener binding (#1431)
hata6502 Nov 21, 2020
59a3034
Remove project id and Correct the command name. (#1452)
ranemihir Dec 2, 2020
c1f73e7
package version updated
neSpecc Dec 8, 2020
36d5a67
fix eslint
neSpecc Dec 8, 2020
83d8fe7
fix license badge in README.md (#1534)
nikmel2803 Feb 11, 2021
c0ff646
chore(example): the new example page for testing multiple instances
neSpecc Feb 17, 2021
7c8778a
Fix BlockManager.setCurrentBlockByChildNode() with multiple Editor.js…
hata6502 Jan 25, 2021
c106819
the long line splitted for several small ones, some more docs added
neSpecc Feb 17, 2021
fbd4bd9
Feature: remove bundles (#1541)
talyguryn Feb 18, 2021
4c7cad1
Remove force options in Caret.navigateNext() and Caret.navigatePrevio…
hata6502 Feb 18, 2021
78478ac
chore(tests): testcases.md started (#1487)
neSpecc Feb 18, 2021
4ddba92
chore(types): a generic type for tool config added (#1517)
hata6502 Feb 18, 2021
156a687
Bump ini from 1.3.5 to 1.3.8 (#1544)
dependabot[bot] Feb 18, 2021
50cbc4d
Remove unnecessary window promise (#1488)
ranemihir Feb 18, 2021
51b1fdc
Hotfix: sanitizer config type definition (#1491)
phanletrunghieu Feb 18, 2021
21adb61
Scroll Window with block selection (#1457)
hata6502 Feb 18, 2021
143a539
Fix unstable block cut process (#1485)
hata6502 Feb 18, 2021
aa8675d
Toolbar toggler API (#1466)
robonetphy Feb 18, 2021
527ff4e
Add url length validation to Link at inline-tool. (#1476)
kaaaaaaaaaaai Feb 18, 2021
3f39cb7
Set caret when block data pasted (#1470)
hata6502 Feb 18, 2021
5cbeabd
Update build commands (#1545)
talyguryn Feb 18, 2021
8e4b34a
Feature: action for publishing package update (#1546)
talyguryn Feb 19, 2021
c4a57c1
Feature: create a release draft workflow (#1555)
talyguryn Feb 22, 2021
cd6378c
Feature: add bump version action (#1561)
talyguryn Feb 24, 2021
254a94e
Bump version (#1562)
github-actions[bot] Feb 24, 2021
a229cc5
Update releases.md (#1567)
talyguryn Feb 25, 2021
8104585
Don't except the first selected block (#1550)
hata6502 Feb 26, 2021
ae52d61
Update bump-version-on-merge-next.yml (#1569)
talyguryn Feb 26, 2021
970d64e
Bump version (#1570)
github-actions[bot] Feb 26, 2021
1772edf
Update releases.md docs for update version workflow (#1571)
talyguryn Feb 27, 2021
e5fe93e
Make passed config immutable (#1553)
hata6502 Feb 27, 2021
3bf30f0
Add generics to OutputBlockData (#1326)
hata6502 Feb 27, 2021
2759b25
refactoring(modules): the listeners module now a util (#1572)
neSpecc Mar 2, 2021
a67e699
Fix SanitizerConfig type definition (#1456)
hata6502 Mar 2, 2021
0d559a5
Fix typo (#1581)
sjquant Mar 3, 2021
2a2a6f1
Bump version (#1580)
github-actions[bot] Mar 4, 2021
2f5da52
refactoring(modules): shortcuts module is util now (#1578)
gohabereg Mar 4, 2021
c4ebdee
Do not use bubbling on blockManagers' listener (#1563)
khaydarov Mar 12, 2021
d945d4c
refactoring(modules): Events module is util now (#1582)
khaydarov Mar 15, 2021
1e1b06d
chore(release): 2.19.2 (#1583)
github-actions[bot] Mar 15, 2021
166ded6
Merge branch 'master' into next
neSpecc Mar 15, 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
19 changes: 19 additions & 0 deletions example/assets/demo.css
Original file line number Diff line number Diff line change
@@ -69,6 +69,12 @@ body {
padding: 0 15px;
}

.ce-example__content--with-bg {
background: #f4f4f4;
max-width: none;
margin-top: -30px;
}

.ce-example__output {
background: #1B202B;
overflow-x: auto;
@@ -187,3 +193,16 @@ body {
.ce-example h4.ce-header {
font-size: 18px;
}

.ce-example-multiple {
display: grid;
grid-template-columns: calc(50% - 15px) calc(50% - 15px);
gap: 30px;
padding: 30px;
}

.ce-example-multiple > div {
background: #fff;
border-radius: 7px;
padding: 30px;
}
60 changes: 60 additions & 0 deletions example/example-multiple.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@

<!--
Use this page for debugging purposes.
This page can be used for testing multiple editor instances on the same page.
-->
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Editor.js 🤩🧦🤨 example: Multiple instances</title>
<link href="assets/demo.css" rel="stylesheet">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
</head>
<body>
<div class="ce-example">
<div class="ce-example__header">
<a class="ce-example__header-logo" href="https://codex.so/editor">Editor.js 🤩🧦🤨</a>

<div class="ce-example__header-menu">
<a href="https://github.com/editor-js" target="_blank">Plugins</a>
<a href="https://editorjs.io/usage" target="_blank">Usage</a>
<a href="https://editorjs.io/configuration" target="_blank">Configuration</a>
<a href="https://editorjs.io/creating-a-block-tool" target="_blank">API</a>
</div>
</div>
<div class="ce-example__content ce-example__content--with-bg _ce-example__content--small">
<div class="ce-example-multiple">
<div id="editorjs1"></div>
<div id="editorjs2"></div>
</div>
</div>
<div class="ce-example__output">
<div class="ce-example__output-footer">
<a href="https://codex.so" style="font-weight: bold;">Made by CodeX</a>
</div>
</div>
</div>

<!-- Load Editor.js's Core -->
<script src="../dist/editor.js"></script>

<!-- Initialization -->
<script>
/**
* Instance #1
*/
var editor1 = new EditorJS({
holder: 'editorjs1',
});

/**
* Instance #2
*/
var editor2 = new EditorJS({
holder: 'editorjs2',
});
</script>
</body>
</html>
6 changes: 3 additions & 3 deletions example/example.html
Original file line number Diff line number Diff line change
@@ -48,12 +48,12 @@

<!-- Load Tools -->
<!--
You can upload Tools to your project's directory and use as in example below.
You can upload Tools to your project's directory and connect them by relative links.
Also you can load each Tool from CDN or use NPM/Yarn packages.
Read more in Tool's README file. For example:
https://github.com/editor-js/header#installation
Read more at Tools Connection doc:
https://editorjs.io/getting-started#tools-connection
-->
<script src="https://cdn.jsdelivr.net/npm/@editorjs/header@latest"></script><!-- Header -->
<script src="https://cdn.jsdelivr.net/npm/@editorjs/simple-image@latest"></script><!-- Image -->