I am looking for a very clean project to add a cross-browser JavaScript API to the content div.
If it has a user interface, then you can not download it (as opposed to disabling it) or completely remove it from sources.
I am looking for the main functions without really paying much attention to backward compatibility, but rather to cleaner codes.
Some of the functions that I would expect from this API would be as follows:
- Insert HTML snippet at cursor position
- Clear content after pasting (e.g. font sizes and sizes)
- Returns the node where the cursor is currently located
- Add a new item to the product list
I suppose I could encode them using jQuery, but if anyone has this, why not reuse it.
source share