Skip to content
This repository has been archived by the owner on Jan 23, 2023. It is now read-only.

README.md documentation confusing #233

Open
rickdog opened this issue Apr 29, 2015 · 0 comments
Open

README.md documentation confusing #233

rickdog opened this issue Apr 29, 2015 · 0 comments

Comments

@rickdog
Copy link

rickdog commented Apr 29, 2015

doc says:

Hallo itself only makes the selected DOM elements editable and doesn't provide any formatting tools. Formatting is accomplished by loading plugins when initializing Hallo. Even simple things like bold and italic are plugins:

jQuery('.editable').hallo({
  plugins: {
    'halloformat': {}
  }
});

but when I invoke jQuery('p').hallo({editable: true}); it only sets contenteditble="true", it doesn't add class="editable".
I'm guessing that the user must add class="editable", it is not added by hallo. The documentation fails to mention this - so the examples using jQuery('.editable').hallo(...) are confusing, not knowing that.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant