Selaa lähdekoodia

address #579 contenteditable changes

Evan You 11 vuotta sitten
vanhempi
commit
3f0a00b616
1 muutettua tiedostoa jossa 3 lisäystä ja 1 poistoa
  1. 3 1
      changes.md

+ 3 - 1
changes.md

@@ -1,4 +1,4 @@
-> Live doc. Subject to change anytime before 0.11 release.
+# 0.10 -> 0.11 Migration Guide
 
 **Table of Contents**
 
@@ -326,6 +326,8 @@ computed: {
 
   - `v-model`
 
+    **BREAKING** `v-model` no longer works on arbitrary elements with `contenteditable`. It is now recommended to wrap a library that specifically deals with `contenteditable` inside a custom directive.
+
     `v-model` now will check `lazy` attribute for lazy model update, and will check `number` attribute to know if it needs to convert the value into Numbers before writing back to the model.
 
     When used on a `<select>` element, `v-model` will check for an `options` attribute, which should be an keypath/expression that points to an Array to use as its options. The Array can contain plain strings, or contain objects.