0
Fork 0
mirror of https://github.com/fastmail/Squire.git synced 2024-12-21 23:03:11 -05:00
Commit graph

21 commits

Author SHA1 Message Date
Neil Jenkins
4cecb3c366 Expose editor global variable in Demo.html
For easier experimentation.
2024-07-17 15:19:49 +10:00
Seth Falco
c84f48e480 docs: add pasteImage to demo and document the event 2023-03-20 20:31:39 +11:00
Neil Jenkins
fe0dfdf6c4 Squire 2.0
This is a massive refactor to port Squire to TypeScript, fix a bunch of small
bugs and modernise our tooling. The development was done on an internal
repository, so apologies to anyone following externally for the commit dump;
updates from here should come as real commits again.

Co-authored-by: Joe Woods <woods@fastmailteam.com>
2023-01-23 13:18:29 +11:00
Neil Jenkins
625d10139e Add support for <pre>/<code> formatting 2018-07-27 10:47:38 +10:00
Neil Jenkins
bb40d03899 Export useful Node helper functions 2016-12-07 18:42:48 +11:00
Neil Jenkins
6c4f8e1aaf Add support for default <a> attributes
Resolves #186.
2016-05-05 11:50:36 +10:00
Neil Jenkins
6a348e084b Make Squire work without an iframe(!) 2016-03-23 17:41:09 +11:00
Neil Jenkins
a36cb12a16 Add Remove All Formatting action to basic demo integration. 2015-06-17 15:43:27 +07:00
Neil Jenkins
a2ca4a3864 Allow setting default attributes for ul/ol/li/blockquote.
Merges #83, with fixes, tidying and squashing.
2015-05-09 17:22:54 +07:00
Neil Jenkins
62e2f5aa95 Use advanced init mode for Demo.html
So it works in Chrome on the local file system (the iframe loading method runs
afoul of security restrictions).
2015-04-08 19:09:20 +07:00
Craig Marvelley
2d7addd04e Add list level manipulation actions to demo toolbar 2014-12-11 12:35:48 +00:00
Neil Jenkins
ae38caba31 Remove IE8 support.
It was always a bit buggy, and realistically there's no point in putting in the
time to fix it up.
2014-11-29 20:08:53 +07:00
Neil Jenkins
bce3e8d208 Ensure IE not in compat-mode on demo page. 2013-01-15 10:32:21 +11:00
Neil Jenkins
e4b5ea6ee8 If all text in inline tag deleted, remove tag. 2012-07-02 14:04:06 +10:00
Neil Jenkins
c5abcde210 API rename (inc|dec)reaseQuoteLevel
Use full words in API method name for consistency with the rest of the API.
2012-04-12 11:42:07 +10:00
Neil Jenkins
f0ba6216cc Add support for IE8. 2012-04-02 15:55:33 +10:00
Neil Jenkins
e3ee4dad12 Whitespace cleanup. 2012-01-25 11:47:26 +11:00
Neil Jenkins
ffe8d95cc1 Add more API methods to demo page. 2011-11-17 19:04:56 +11:00
Neil Jenkins
3f5233c61a Fix bug in applying styles in Opera/IE.
Was removing the crucial empty text node that these browsers use to indicate and
editable line.
2011-11-14 15:18:05 +11:00
Neil Jenkins
9aaefdf586 Fix bug in registering handler in Demo. 2011-10-31 13:52:51 +11:00
Neil Jenkins
72141fd670 Initial commit for public release. 2011-10-29 14:15:21 +11:00