{"action":"created","issue":{"url":"https://api.github.com/repos/dangvanthanh/vue-ckeditor2/issues/17","repository_url":"https://api.github.com/repos/dangvanthanh/vue-ckeditor2","labels_url":"https://api.github.com/repos/dangvanthanh/vue-ckeditor2/issues/17/labels{/name}","comments_url":"https://api.github.com/repos/dangvanthanh/vue-ckeditor2/issues/17/comments","events_url":"https://api.github.com/repos/dangvanthanh/vue-ckeditor2/issues/17/events","html_url":"https://github.com/dangvanthanh/vue-ckeditor2/issues/17","id":214712822,"node_id":"MDU6SXNzdWUyMTQ3MTI4MjI=","number":17,"title":"using vue-ckedtior in template with v-if","user":{"login":"fzikesch","id":12842667,"node_id":"MDQ6VXNlcjEyODQyNjY3","avatar_url":"https://avatars0.githubusercontent.com/u/12842667?v=4","gravatar_id":"","url":"https://api.github.com/users/fzikesch","html_url":"https://github.com/fzikesch","followers_url":"https://api.github.com/users/fzikesch/followers","following_url":"https://api.github.com/users/fzikesch/following{/other_user}","gists_url":"https://api.github.com/users/fzikesch/gists{/gist_id}","starred_url":"https://api.github.com/users/fzikesch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fzikesch/subscriptions","organizations_url":"https://api.github.com/users/fzikesch/orgs","repos_url":"https://api.github.com/users/fzikesch/repos","events_url":"https://api.github.com/users/fzikesch/events{/privacy}","received_events_url":"https://api.github.com/users/fzikesch/received_events","type":"User","site_admin":false},"labels":[{"id":549446871,"node_id":"MDU6TGFiZWw1NDk0NDY4NzE=","url":"https://api.github.com/repos/dangvanthanh/vue-ckeditor2/labels/IMPROVEMENT","name":"IMPROVEMENT","color":"0e8a16","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2017-03-16T13:58:53Z","updated_at":"2018-09-13T09:15:55Z","closed_at":null,"author_association":"NONE","body":"Hello,\r\ni've got some strange behaviour. We have a construct like\r\n```\r\n<keep-alive>\r\n  <my-form-template  v-if=\"showForm\" />\r\n</keep-alive>\r\n```\r\nwhere  &lt;my-form-template&gt; contains the  &lt;ckeditor&gt; template.\r\n\r\nHowever, when &lt;my-form-template&gt; is hidden (showForm := false)  and shown again, the ckeditor does not work anymore.\r\n\r\nSeems to be more a ckeditor issue (the iframe of the editor is corrupted, or whatever...).\r\n\r\nBut any ideas how to solve this problem?\r\n\r\nAs workaround i use a extra \"active\" property in ckeditor.vue in combination with a watcher\r\n\r\n```\r\n        watch: {\r\n\t\tactive (value) {\r\n\t\t\tif (value) {\r\n\t\t\t\tthis.create()     // mounted () \r\n\t\t\t} else {\r\n\t\t\t\tthis.destroy()  // beforeDestroy ()\r\n\t\t\t}\r\n\t\t}\r\n\t},\r\n```\r\nHas anybody a better idea?"},"comment":{"url":"https://api.github.com/repos/dangvanthanh/vue-ckeditor2/issues/comments/420940105","html_url":"https://github.com/dangvanthanh/vue-ckeditor2/issues/17#issuecomment-420940105","issue_url":"https://api.github.com/repos/dangvanthanh/vue-ckeditor2/issues/17","id":420940105,"node_id":"MDEyOklzc3VlQ29tbWVudDQyMDk0MDEwNQ==","user":{"login":"Cookizza","id":1787216,"node_id":"MDQ6VXNlcjE3ODcyMTY=","avatar_url":"https://avatars3.githubusercontent.com/u/1787216?v=4","gravatar_id":"","url":"https://api.github.com/users/Cookizza","html_url":"https://github.com/Cookizza","followers_url":"https://api.github.com/users/Cookizza/followers","following_url":"https://api.github.com/users/Cookizza/following{/other_user}","gists_url":"https://api.github.com/users/Cookizza/gists{/gist_id}","starred_url":"https://api.github.com/users/Cookizza/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Cookizza/subscriptions","organizations_url":"https://api.github.com/users/Cookizza/orgs","repos_url":"https://api.github.com/users/Cookizza/repos","events_url":"https://api.github.com/users/Cookizza/events{/privacy}","received_events_url":"https://api.github.com/users/Cookizza/received_events","type":"User","site_admin":false},"created_at":"2018-09-13T09:15:55Z","updated_at":"2018-09-13T09:15:55Z","author_association":"NONE","body":"BUMP!"}}
{"actor":{"display_login":"Cookizza"}}