qontu / ngx-inline-editor

Native UI Inline-editor Angular (4.0+) component
https://qontu.github.io/ngx-inline-editor
MIT License
164 stars 90 forks source link

[WIP] docs(setup): Documentation #79

Open tonivj5 opened 7 years ago

tonivj5 commented 7 years ago

Hi! Here are the docs 😉

- It can be deployed to github-pages
- It is in english and spanish language
- We use hugo to create the docs
- We use a fork of vjeantet/hugo-theme-docdock as theme (our theme adds multilingual features and plunker shortcode to add live examples)
- Added gulp and package.json scripts to work with the documentation (build/clean/deploy)

You can have a glance at https://xxxtonixxx.github.io/ngx-inline-editor/en/ and plunker example at https://xxxtonixxx.github.io/ngx-inline-editor/en/usage/first-example/

rifansi commented 7 years ago

Hi @xxxtonixxx The updated doc looks very good. However I didnt get it working there https://xxxtonixxx.github.io/ngx-inline-editor/en/usage/first-example/

I have tried also in mine. code is not working for type "text" and "textarea"

Please suggest

tonivj5 commented 7 years ago

Thanks @rifansi! Yeah, it seems broken since 0.2.0-alpha.10. I think that reactive-forms or change to OnPush strategy have broken the component. I will work to resolve it.

To play with the example, you can set the version to 0.2.0-alpha.9 changing the config.js file in /, into map object, change

'@qontu/ngx-inline-editor': 'https://npmcdn.com/@qontu/ngx-inline-editor',

to

// Version 0.2.0-alpha.9
'@qontu/ngx-inline-editor': 'https://npmcdn.com/@qontu/ngx-inline-editor@0.2.0-alpha.9', 

Here is working with the change done: https://embed.plnkr.co/GfGHaUdbPWyg7xBmN4vg/

rifansi commented 7 years ago

Thanks @xxxtonixxx it's working perfectly at 0.2.0-alpha.9

tonivj5 commented 7 years ago

@rifansi the error was fixed in the latest version: 0.2.0-alpha.11. Thanks for your report 👍