{"action":"opened","issue":{"url":"https://api.github.com/repos/MakingThingsWorkToronto/jQuery.spHtmlEditor/issues/1","labels_url":"https://api.github.com/repos/MakingThingsWorkToronto/jQuery.spHtmlEditor/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/MakingThingsWorkToronto/jQuery.spHtmlEditor/issues/1/comments","events_url":"https://api.github.com/repos/MakingThingsWorkToronto/jQuery.spHtmlEditor/issues/1/events","html_url":"https://github.com/MakingThingsWorkToronto/jQuery.spHtmlEditor/issues/1","id":114128435,"number":1,"title":"Cannot read property 'lcid' of undefined","user":{"login":"thechriskent","id":8364109,"avatar_url":"https://avatars.githubusercontent.com/u/8364109?v=3","gravatar_id":"","url":"https://api.github.com/users/thechriskent","html_url":"https://github.com/thechriskent","followers_url":"https://api.github.com/users/thechriskent/followers","following_url":"https://api.github.com/users/thechriskent/following{/other_user}","gists_url":"https://api.github.com/users/thechriskent/gists{/gist_id}","starred_url":"https://api.github.com/users/thechriskent/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thechriskent/subscriptions","organizations_url":"https://api.github.com/users/thechriskent/orgs","repos_url":"https://api.github.com/users/thechriskent/repos","events_url":"https://api.github.com/users/thechriskent/events{/privacy}","received_events_url":"https://api.github.com/users/thechriskent/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-10-29T19:29:50Z","updated_at":"2015-10-29T19:29:50Z","closed_at":null,"body":"In following your initial instructions of just placing the spHtmlEditor call on my div within the document ready function, I was getting the error: *Cannot read property 'lcid' of undefined*\r\n\r\nI fixed this by using ExecuteOrDelayUntilScriptLoaded like this:\r\n\r\n    $(document).ready(function(){\r\n        ExecuteOrDelayUntilScriptLoaded(function(){\r\n            $('#myRTEbox').spHtmlEditor({version:\"onprem\"});\r\n        },'sp.js');\r\n    });\r\n\r\n**I think this plugin is awesome!** I just wanted to leave this here for anyone else looking for an answer. Really, this isn't an issue with your plugin, but more of an addendum to your ReadMe. Thanks for making this!"}}