Skip to content

Commit 506e7d4

Browse files
committed
Document major version 3
1 parent 6c7a9df commit 506e7d4

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

docs/_index.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -312,6 +312,8 @@ something like [CodeMirror](https://codemirror.net/),
312312
[Ace](https://ace.c9.io/) or
313313
[Monaco](https://microsoft.github.io/monaco-editor/).
314314

315+
`code-input.js` is also improving and an even more lightweight, flexible and clean major version 3 is being planned. Please come and participate with your feedback/ideas [on GitHub](https://github.com/WebCoder49/code-input/issues/190) or [via email to [email protected]](mailto:[email protected])!
316+
315317
## Read Enough?
316318
**If you don't need web framework integration, get started with the commented tutorials by example on this page, for [Prism.js](#playground-preset-prism), [highlight.js](#playground-preset-hljs), or [another highlighter](#playground-preset-custom). If you're using ECMAScript modules or a web framework, start [here](modules-and-frameworks).**
317319

docs/interface/js/_index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,4 @@ codeInputElement.addEventListener("code-input_load", () => {
2121
});
2222
```
2323

24-
For backwards compatibility, you should also implement the subset of the functionality that doesn't require `code-input.js` on the `<textarea data-code-input-fallback>` element before load, if you have one. For backwards compatibility and technical reasons, event handlers registered in HTML attributes like `onchange` of the textarea will be passed to the code-input element when it is registered, but event listeners registered like that above will not.
24+
For backwards compatibility, you should also implement the subset of the functionality that doesn't require `code-input.js` on the `<textarea data-code-input-fallback>` element before load, if you have one. For backwards compatibility and technical reasons, event handlers registered in HTML attributes like `onchange` of the textarea will be passed to the code-input element when it is registered, but event listeners registered like that above will not - this should be cleaned up in major version 3.

0 commit comments

Comments
 (0)