Skip to content

Commit 50af128

Browse files
committed
Moved roadmap to source directory
1 parent 50a2e74 commit 50af128

File tree

3 files changed

+84
-1
lines changed

3 files changed

+84
-1
lines changed

CHANGELOG.txt

+2
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@ Version 1.4.0:
1717
Fixed bug causing cursor position to be lost in FF when getting the editors value.
1818
- Thanks to Spuds for reporting
1919
Improve IE support
20+
Moved roadmap from GitHub wiki to source directory
21+
for easier editing.
2022

2123
Version 1.3.6:
2224
Added Spanish translation

MIT.txt

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
Copyright (C) 2011 by Sam Clarke
1+
Copyright (C) 2011 by Sam Clarke and contributors
2+
http://www.sceditor.com/
23

34
Permission is hereby granted, free of charge, to any person obtaining a copy
45
of this software and associated documentation files (the "Software"), to deal

ROADMAP.md

+80
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,80 @@
1+
# Roadmap
2+
3+
## 1.4.1
4+
5+
* Add keyboard shortcut support for commands
6+
* Improve table editing support
7+
* Add ability to resize images in browsers that don't have native WYSIWYG resize.
8+
* Add button state support
9+
* Add helper functions. Blur, focus, keypress, keyup, keydown
10+
* Add helpers for adding commands/bbcodes.
11+
12+
13+
## 1.4.2
14+
15+
* Consider adding support for BBCodes with just their BBCode and HTML replacement.
16+
* Add flash embedding command + BBCode
17+
* Add option to disable pasting, maybe allow a callback or show a message
18+
* Add option to only paste plain text
19+
* Add build page to website so only the commands and BBCodes needed are included
20+
* Add wget (or similar) support for build page so updating can be automated
21+
* Add localstorage/cookie support to build page to remember last options
22+
23+
24+
## 1.4.3
25+
26+
* Spell checker plugin?
27+
* HTML5 drag-drop file upload options with callbacks to handle the upload
28+
29+
30+
## Future
31+
* Possibly add XHTML output support
32+
* Possibly create a page which helps create custom commands and BBCodes
33+
34+
35+
# Ideas for the future
36+
37+
## Spell checker plugin
38+
39+
It should:
40+
41+
* Be generic so it can work with any contentEditable/designMode element and if possible any textarea too.
42+
* Have it's own repository instead of using the SCEditor one.
43+
* Allow multiple spell checker backends so PHP, Ruby, ASP.NET, Python, ect. can be used as well as web API's.
44+
* Get a list of unique words and check them and cache the result.
45+
* Have option for AYT spell checking with x seconds delay.
46+
* Grab previous words around range and also have manual spell check button.
47+
* Wrap the wrong words in a span with a class so it can have custom styling.
48+
* When the span is clicked/right clicked it should show a menu with suggestions, might want to preload them incase it's being done via AJAX.
49+
* Have an option to allow adding words so backends that support adding words can add them.
50+
* Have an ingore word option which adds the word to the cache.
51+
* Have options to ignore capitalised words, split words with hyphens.
52+
* Have an option to set a custom word handler which is passed a string to extract the words from.
53+
* Have an option to replace all words spelled a certain way with the suggested word.
54+
55+
**Possible check format:**
56+
57+
{
58+
words: [
59+
"teh",
60+
"quick",
61+
"brown",
62+
"fox"
63+
]
64+
}
65+
66+
**Possible return format:**
67+
68+
{
69+
// Would be set to a string to show the user if an error occurs.
70+
errors: null
71+
72+
// Assoc array with the key being the word and the value being an array of suggestions.
73+
// Suggestions array can be empty if there are none.
74+
corrections: [
75+
"teh": [
76+
"the",
77+
"ten"
78+
]
79+
]
80+
}

0 commit comments

Comments
 (0)