1
0
mirror of synced 2025-11-06 04:30:40 +08:00
Files
Mergely/examples
2021-10-03 16:49:44 +01:00
..
2021-04-29 21:20:53 +01:00
2018-11-17 09:12:45 +00:00
2012-11-15 19:26:33 +00:00
2021-04-29 21:20:53 +01:00
2012-11-15 19:26:33 +00:00
2017-12-18 21:53:03 +00:00
2017-12-18 21:53:03 +00:00

Mergely examples

To run these examples, you need to run:

$ npm run build
$ npm start

This runs Mergely in a hot dev-server for development. However, only the main example is hot-reloaded when mergely is changed. The others require a rebuild.

Main example

http://localhost:8080

Shows basic functionality.

Ajax example

http://localhost:8080/examples/ajax.html

Who still says "ajax" these days? Anyway, this example demonstrates how to load your left-hand and right-hand sources from external URL, and also how to skin your own editor, and provide drop-file functionality.

Simple example

This example demonstrates how to load your left-hand and right-hand sources from static text.

http://localhost:8080/examples/simple.html

Size example

This example demonstrates how to size your editors, and also how to have multiple editors on the same page.

http://localhost:8080/examples/size.html