Neil Jenkins
62616ef4ec
Add saveUndoState method to public API
...
For #174
2016-03-11 15:58:32 +11:00
Neil Jenkins
df25d6d596
Add colour/background-colour to result of getFontInfo
...
Resolves #158
2015-12-03 18:14:49 +11:00
Neil Jenkins
2bade7e868
Add documentation for changeFormat method.
...
Omission noted in #150
2015-10-23 12:21:14 +02:00
Gert K. Sønderby
94f5a56255
Added getFontInfo() function, which extracts font-family and font-size styles.
2015-09-03 11:48:47 +01:00
Neil Jenkins
522a481dd3
Require <html data-squireinit="true"> to auto-instantiate.
...
Explicit opt-in to autoinstantiation (included in the default document.html)
means Squire may be loaded in sites that themselves are loaded in iframes,
without unexpected consequences.
Resolves #104 .
2015-07-06 12:19:21 +07:00
Neil Jenkins
32d56823ce
Document must wait for iframe onload before instantiating
...
Resolves #106
2015-07-06 12:03:46 +07:00
Gert Sønderby
90660e8e4f
Updated README, aligned return value with other API functions.
2015-06-17 15:43:26 +07:00
Neil Jenkins
27b1532ca6
Add Squire#moveCursorTo(Start|End) methods.
...
I've got 99 GitHub issues, but #99 ain't one (any more).
2015-06-13 11:20:07 +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
223060ecf9
Add method to set key handlers.
...
Resolves #70
2015-04-29 11:16:11 +07:00
Neil Jenkins
27267ff376
Add documentation on detecting current edit state
...
Resolves #71
2015-04-29 09:42:08 +07:00
Umer Farooq
c249e3bc19
Document that if the current selection is not collapsed, that it will
...
be deleted and replaced by the html. Make style and consistency changes.
2015-04-15 16:23:36 +10:00
Umer Farooq
6fdb288e00
Add the ability to insert an HTML fragment at the cursor location.
2015-04-15 16:23:36 +10:00
Neil Jenkins
437a3c4451
Reword "in in" in README to be less clumsy
2015-03-05 15:19:22 +08:00
Neil Jenkins
39fd173c6a
Merge pull request #48 from cvrebert/events
...
README: hyperlink DOM event refs to MDN docs
2015-03-05 15:15:45 +08:00
Neil Jenkins
1a91065baa
Merge pull request #47 from cvrebert/patch-1
...
README: hyperlink document.execCommand mention to MDN
2015-03-05 15:15:11 +08:00
Neil Jenkins
4d7d99ae7e
Merge pull request #46 from cvrebert/size-val
...
README: link to MDN regarding font size values
2015-03-05 15:14:23 +08:00
Chris Rebert
b301d152c7
README: hyperlink DOM event refs to MDN docs
2015-03-04 19:09:14 -08:00
Chris Rebert
f25c6713bd
README: hyperlink document.execCommand mention to MDN
2015-03-04 19:03:37 -08:00
Chris Rebert
77c0fc6d93
README: link to MDN regarding font size values
2015-03-04 18:53:32 -08:00
Chris Rebert
ce5867f424
README: use same return value phrasing for remove{Italic,Underline} as elsewhere
2015-03-04 18:46:10 -08:00
Chris Rebert
0506b8a1c7
README: hyperlink CSS color value refs to MDN docs
2015-03-04 18:40:18 -08:00
Chris Rebert
cde65d93a9
README: hyperlink Range references to MDN docs
2015-03-04 18:34:56 -08:00
Neil Jenkins
249ea93c13
Allow defaultBlockTag to be configured
...
Resolves #23
2014-12-27 15:02:26 +07:00
Neil Jenkins
824a3b0a3b
Resolves #22 .
2014-12-20 17:07:11 +11:00
Craig Marvelley
8d604d7deb
Add increaseListLevel and decreaseListLevel API methods to README
2014-12-11 11:36:42 +00:00
Neil Jenkins
2ad3ccf640
Update README API docs and add link to demo.
2014-12-10 14:47:11 +11:00
Neil Jenkins
6f53440400
Minor license/readme update.
2014-12-09 11:00:28 +11:00
Rafał Filipek
cd30857ba4
Convention
2014-12-08 10:45:30 +01:00