You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 23, 2023. It is now read-only.
HalloitselfonlymakestheselectedDOMelementseditableanddoesn'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.
doc says:
but when I invoke
jQuery('p').hallo({editable: true});it only setscontenteditble="true", it doesn't addclass="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 usingjQuery('.editable').hallo(...)are confusing, not knowing that.