Skip to content

Commit 86466ce

Browse files
committed
Built static site
Signed-off-by: Dimitris Kolovos <dimitris.kolovos@york.ac.uk>
1 parent 917e16d commit 86466ce

File tree

7 files changed

+6
-6
lines changed

7 files changed

+6
-6
lines changed

playground/dist/bundle.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

playground/dist/bundle.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

playground/js/Panel.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,8 @@ class Panel {
3636
// folding: false
3737
});
3838

39+
// Fix the editor's end-of-line character to avoid issues with live
40+
// sharing across different operating systems
3941
this.editor.getModel().setEOL(monaco.editor.EndOfLineSequence.LF);
4042

4143
this.visible = true;

playground/js/y-monaco.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -166,9 +166,7 @@ export class MonacoBinding {
166166
{
167167
const ytextValue = ytext.toString()
168168
if (monacoModel.getValue() !== ytextValue) {
169-
const eol = monacoModel.getEndOfLineSequence();
170169
monacoModel.setValue(ytextValue)
171-
monacoModel.setEOL(eol);
172170
}
173171
}
174172
this._monacoChangeHandler = monacoModel.onDidChangeContent(event => {

playground/readme/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1832,7 +1832,7 @@ <h2 id="running-yjs-locally">Running YJS locally<a class="headerlink" href="#run
18321832
<li><code>HOST=localhost PORT=1234 npx y-websocket</code></li>
18331833
</ul>
18341834
<h2 id="y-monaco">y-monaco<a class="headerlink" href="#y-monaco" title="Permanent link">&para;</a></h2>
1835-
<p><code>y-monaco.js</code> is a local copy of a <a href="https://github.com/kolovos/y-monaco/blob/master/src/y-monaco.js">forked version</a> of the <code>y-monaco</code> package. The original package suffers from two issues (<a href="https://github.com/yjs/y-monaco/issues/6#issuecomment-2163299125">#1</a> and <a href="https://github.com/yjs/y-monaco/pull/23">#2</a>) that have been fixed in the fork. The fixes have been proposed by others to the package maintainer however, they have not been accepted yet. Once the fixes are accepted by the package maintainer, we can use the npm package again.</p>
1835+
<p><code>y-monaco.js</code> is a local copy of a <a href="https://github.com/kolovos/y-monaco/blob/master/src/y-monaco.js">forked version</a> of the <code>y-monaco</code> npm package. The original package suffers from <a href="https://github.com/yjs/y-monaco/pull/23">an issue</a>) that has been fixed in the fork. The fix has been proposed by others to the package maintainer however, it has not been accepted yet. Once the fix is accepted, we can use the npm package again.</p>
18361836

18371837

18381838

search/search_index.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

sitemap.xml.gz

0 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)