From 60dde289a3000d071a5609f9f00d6255e59806f8 Mon Sep 17 00:00:00 2001 From: Narretz Date: Fri, 22 Nov 2013 10:20:47 +0100 Subject: [PATCH] added note that directive is broken in IE and Opera < 15 This might save some people some time that need to support IE, but that only test it when they are finished. --- README.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 477dd53..39a593d 100644 --- a/README.md +++ b/README.md @@ -33,10 +33,13 @@ angular.module('myapp', ['contenteditable']) ## Notice +The directive currently does not work in any version of Internet Explorer or Opera < 15. +Both browsers don't fire the `input` event for contenteditable fields. + In Chrome, when a contenteditable element X contains a non-contenteditable element Y as the last element, then the behaviour of the caret is the following: -* When X has style `dislay` set to `block` or `inline-block`, then the caret +* When X has style `display` set to `block` or `inline-block`, then the caret moves to the very far right edge of X when it is _immediately_ at the end of X (inserting spaces moves the caret back).