Skip to content

Commit

Permalink
Moved roadmap to source directory
Browse files Browse the repository at this point in the history
  • Loading branch information
samclarke committed Nov 3, 2012
1 parent 50a2e74 commit 50af128
Show file tree
Hide file tree
Showing 3 changed files with 84 additions and 1 deletion.
2 changes: 2 additions & 0 deletions CHANGELOG.txt
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ Version 1.4.0:
Fixed bug causing cursor position to be lost in FF when getting the editors value.
- Thanks to Spuds for reporting
Improve IE support
Moved roadmap from GitHub wiki to source directory
for easier editing.

Version 1.3.6:
Added Spanish translation
Expand Down
3 changes: 2 additions & 1 deletion MIT.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
Copyright (C) 2011 by Sam Clarke
Copyright (C) 2011 by Sam Clarke and contributors
http://www.sceditor.com/

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
80 changes: 80 additions & 0 deletions ROADMAP.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,80 @@
# Roadmap

## 1.4.1

* Add keyboard shortcut support for commands
* Improve table editing support
* Add ability to resize images in browsers that don't have native WYSIWYG resize.
* Add button state support
* Add helper functions. Blur, focus, keypress, keyup, keydown
* Add helpers for adding commands/bbcodes.


## 1.4.2

* Consider adding support for BBCodes with just their BBCode and HTML replacement.
* Add flash embedding command + BBCode
* Add option to disable pasting, maybe allow a callback or show a message
* Add option to only paste plain text
* Add build page to website so only the commands and BBCodes needed are included
* Add wget (or similar) support for build page so updating can be automated
* Add localstorage/cookie support to build page to remember last options


## 1.4.3

* Spell checker plugin?
* HTML5 drag-drop file upload options with callbacks to handle the upload


## Future
* Possibly add XHTML output support
* Possibly create a page which helps create custom commands and BBCodes


# Ideas for the future

## Spell checker plugin

It should:

* Be generic so it can work with any contentEditable/designMode element and if possible any textarea too.
* Have it's own repository instead of using the SCEditor one.
* Allow multiple spell checker backends so PHP, Ruby, ASP.NET, Python, ect. can be used as well as web API's.
* Get a list of unique words and check them and cache the result.
* Have option for AYT spell checking with x seconds delay.
* Grab previous words around range and also have manual spell check button.
* Wrap the wrong words in a span with a class so it can have custom styling.
* 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.
* Have an option to allow adding words so backends that support adding words can add them.
* Have an ingore word option which adds the word to the cache.
* Have options to ignore capitalised words, split words with hyphens.
* Have an option to set a custom word handler which is passed a string to extract the words from.
* Have an option to replace all words spelled a certain way with the suggested word.

**Possible check format:**

{
words: [
"teh",
"quick",
"brown",
"fox"
]
}

**Possible return format:**

{
// Would be set to a string to show the user if an error occurs.
errors: null

// Assoc array with the key being the word and the value being an array of suggestions.
// Suggestions array can be empty if there are none.
corrections: [
"teh": [
"the",
"ten"
]
]
}

0 comments on commit 50af128

Please sign in to comment.