{"action":"created","issue":{"url":"https://api.github.com/repos/froala/angular-froala/issues/22","labels_url":"https://api.github.com/repos/froala/angular-froala/issues/22/labels{/name}","comments_url":"https://api.github.com/repos/froala/angular-froala/issues/22/comments","events_url":"https://api.github.com/repos/froala/angular-froala/issues/22/events","html_url":"https://github.com/froala/angular-froala/issues/22","id":76079075,"number":22,"title":"Unable to write text in froala editor in Protractor tests","user":{"login":"Pranab16","id":4946120,"avatar_url":"https://avatars.githubusercontent.com/u/4946120?v=3","gravatar_id":"","url":"https://api.github.com/users/Pranab16","html_url":"https://github.com/Pranab16","followers_url":"https://api.github.com/users/Pranab16/followers","following_url":"https://api.github.com/users/Pranab16/following{/other_user}","gists_url":"https://api.github.com/users/Pranab16/gists{/gist_id}","starred_url":"https://api.github.com/users/Pranab16/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Pranab16/subscriptions","organizations_url":"https://api.github.com/users/Pranab16/orgs","repos_url":"https://api.github.com/users/Pranab16/repos","events_url":"https://api.github.com/users/Pranab16/events{/privacy}","received_events_url":"https://api.github.com/users/Pranab16/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-05-13T18:28:37Z","updated_at":"2015-10-21T14:33:11Z","closed_at":"2015-10-21T14:33:11Z","body":"In protractor tests, for normal textarea we can write text using sendKeys function. But for froala editor, it throws error: ``` unknown element: cannot focus element ```"},"comment":{"url":"https://api.github.com/repos/froala/angular-froala/issues/comments/149915480","html_url":"https://github.com/froala/angular-froala/issues/22#issuecomment-149915480","issue_url":"https://api.github.com/repos/froala/angular-froala/issues/22","id":149915480,"user":{"login":"stefanneculai","id":637004,"avatar_url":"https://avatars.githubusercontent.com/u/637004?v=3","gravatar_id":"","url":"https://api.github.com/users/stefanneculai","html_url":"https://github.com/stefanneculai","followers_url":"https://api.github.com/users/stefanneculai/followers","following_url":"https://api.github.com/users/stefanneculai/following{/other_user}","gists_url":"https://api.github.com/users/stefanneculai/gists{/gist_id}","starred_url":"https://api.github.com/users/stefanneculai/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stefanneculai/subscriptions","organizations_url":"https://api.github.com/users/stefanneculai/orgs","repos_url":"https://api.github.com/users/stefanneculai/repos","events_url":"https://api.github.com/users/stefanneculai/events{/privacy}","received_events_url":"https://api.github.com/users/stefanneculai/received_events","type":"User","site_admin":false},"created_at":"2015-10-21T14:33:11Z","updated_at":"2015-10-21T14:33:11Z","body":"The best way to get the editable element is:\r\n- v1: `$(selector).data('fa.editable').$element`\r\n- v2: `$(selector).data('froala.editor').$el`"}}