Skip to content

Commit

Permalink
Remove glitch links
Browse files Browse the repository at this point in the history
Links there seem to have a 50% change of not working at any given
time.
  • Loading branch information
marijnh committed Jul 6, 2022
1 parent 0a0b05c commit 4cfbd7d
Show file tree
Hide file tree
Showing 10 changed files with 0 additions and 30 deletions.
12 changes: 0 additions & 12 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@ PAGES:=$(shell find pages -name "*.html") $(shell find pages -name "*.md")

EXAMPLES:=basic markdown dino codemirror lint track collab footnote schema upload menu tooltip

GLITCH_EXAMPLES:=basic dino lint track footnote schema upload menu tooltip

ROOT:=$(shell if [ -d node_modules/prosemirror-model ]; then echo node_modules/; else echo ../node_modules/; fi)

UGLIFY:=
Expand Down Expand Up @@ -54,16 +52,6 @@ public/css/editor.css: $(ROOT)prosemirror-view/style/prosemirror.css \
public/css/codemirror.css:
cp $(ROOT)codemirror/lib/codemirror.css $@

glitch: $(foreach EX,$(GLITCH_EXAMPLES), example/build/prosemirror-example-$(EX)/index.js)

example/build/prosemirror-example-%/index.js: example/%/index.js example/%/index.html
node bin/build-glitch $*
cd example/build/prosemirror-example-$*; \
git init; \
git add *; \
git commit -a -m "Add"; \
git push https://$(GLITCH_AUTH)@api.glitch.com/prosemirror-demo-$*/git +HEAD:master

clean:
rm -rf public/**/*.html public/examples/*/example.js public/examples/prosemirror.js public/css/editor.css CHANGELOG.md example/build/

Expand Down
2 changes: 0 additions & 2 deletions pages/examples/basic/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,6 @@ And this is what it looks like:

@HTML

[![Remix on Glitch](https://cdn.glitch.com/2703baf2-b643-4da7-ab91-7ee2a2d00b5b%2Fremix-button.svg)](https://glitch.com/edit/#!/remix/prosemirror-demo-basic)

These plugins are created by the example setup:

* [Input rules](##inputrules), which are input macros that fire when
Expand Down
2 changes: 0 additions & 2 deletions pages/examples/dino/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,6 @@ schema as proper semantic element in your documents.

@HTML

[![Remix on Glitch](https://cdn.glitch.com/2703baf2-b643-4da7-ab91-7ee2a2d00b5b%2Fremix-button.svg)](https://glitch.com/edit/#!/remix/prosemirror-demo-dino)

In this example, we extend the
[basic](https://github.com/prosemirror/prosemirror-schema-basic)
schema with a single new node. First, we define a [node
Expand Down
2 changes: 0 additions & 2 deletions pages/examples/footnote/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@ footnotes in ProseMirror.

@HTML

[![Remix on Glitch](https://cdn.glitch.com/2703baf2-b643-4da7-ab91-7ee2a2d00b5b%2Fremix-button.svg)](https://glitch.com/edit/#!/remix/prosemirror-demo-footnote)

Footnotes seem like they should be inline nodes with content—they
appear in between other inline content, but their content isn't really
part of the textblock around them. Let's define them like this:
Expand Down
2 changes: 0 additions & 2 deletions pages/examples/lint/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,6 @@ problems in your document, and makes it easy to fix them.

@HTML

[![Remix on Glitch](https://cdn.glitch.com/2703baf2-b643-4da7-ab91-7ee2a2d00b5b%2Fremix-button.svg)](https://glitch.com/edit/#!/remix/prosemirror-demo-lint)

The first part of this example is a function that, given a document,
produces an array of problems found in that document. We'll use the
[`descendants`](##model.Node.descendants) method to easily iterate
Expand Down
2 changes: 0 additions & 2 deletions pages/examples/menu/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,6 @@ ProseMirror editor.

@HTML

[![Remix on Glitch](https://cdn.glitch.com/2703baf2-b643-4da7-ab91-7ee2a2d00b5b%2Fremix-button.svg)](https://glitch.com/edit/#!/remix/prosemirror-demo-menu)

The idea is, roughly, to create a number of user interface elements
and tie them to [commands](/docs/guide/#commands). When clicked, they
should execute these commands on the editor.
Expand Down
2 changes: 0 additions & 2 deletions pages/examples/schema/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -88,8 +88,6 @@ can be set to false to disable that behavior.

@HTML:star

[![Remix on Glitch](https://cdn.glitch.com/2703baf2-b643-4da7-ab91-7ee2a2d00b5b%2Fremix-button.svg)](https://glitch.com/edit/#!/remix/prosemirror-demo-schema)

To make it possible to interact with these elements we again have to
add a custom keymap. There's a command helper for toggling marks,
which we can use directly for the shouting mark.
Expand Down
2 changes: 0 additions & 2 deletions pages/examples/tooltip/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,6 @@ position your tooltips.

@HTML

[![Remix on Glitch](https://cdn.glitch.com/2703baf2-b643-4da7-ab91-7ee2a2d00b5b%2Fremix-button.svg)](https://glitch.com/edit/#!/remix/prosemirror-demo-tooltip)

But you can still make use of ProseMirror's update cycle to make sure
the tooltip stays in sync with the editor state. We can use a [plugin
view](##state.PluginSpec.view) to create a view component tied to the
Expand Down
2 changes: 0 additions & 2 deletions pages/examples/track/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,6 @@ piece of text originates from.

@HTML

[![Remix on Glitch](https://cdn.glitch.com/2703baf2-b643-4da7-ab91-7ee2a2d00b5b%2Fremix-button.svg)](https://glitch.com/edit/#!/remix/prosemirror-demo-track)

Hover over commits to highlight the text they introduced.

This page won't list the [whole source
Expand Down
2 changes: 0 additions & 2 deletions pages/examples/upload/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,6 @@ upload finishes, that placeholder is replaced with the final image.

@HTML

[![Remix on Glitch](https://cdn.glitch.com/2703baf2-b643-4da7-ab91-7ee2a2d00b5b%2Fremix-button.svg)](https://glitch.com/edit/#!/remix/prosemirror-demo-upload)

Since the upload might take a moment, and the user might make more
changes while waiting for it, the placeholder should move along with
its context as the document is edited, and when the final image is
Expand Down

0 comments on commit 4cfbd7d

Please sign in to comment.