{"action":"created","issue":{"url":"https://api.github.com/repos/z-song/laravel-admin/issues/1962","repository_url":"https://api.github.com/repos/z-song/laravel-admin","labels_url":"https://api.github.com/repos/z-song/laravel-admin/issues/1962/labels{/name}","comments_url":"https://api.github.com/repos/z-song/laravel-admin/issues/1962/comments","events_url":"https://api.github.com/repos/z-song/laravel-admin/issues/1962/events","html_url":"https://github.com/z-song/laravel-admin/issues/1962","id":316576890,"number":1962,"title":"Problem adding a new custom field extension","user":{"login":"llxx-lord-xxll","id":6489365,"avatar_url":"https://avatars1.githubusercontent.com/u/6489365?v=4","gravatar_id":"","url":"https://api.github.com/users/llxx-lord-xxll","html_url":"https://github.com/llxx-lord-xxll","followers_url":"https://api.github.com/users/llxx-lord-xxll/followers","following_url":"https://api.github.com/users/llxx-lord-xxll/following{/other_user}","gists_url":"https://api.github.com/users/llxx-lord-xxll/gists{/gist_id}","starred_url":"https://api.github.com/users/llxx-lord-xxll/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/llxx-lord-xxll/subscriptions","organizations_url":"https://api.github.com/users/llxx-lord-xxll/orgs","repos_url":"https://api.github.com/users/llxx-lord-xxll/repos","events_url":"https://api.github.com/users/llxx-lord-xxll/events{/privacy}","received_events_url":"https://api.github.com/users/llxx-lord-xxll/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-04-22T12:55:29Z","updated_at":"2018-04-22T14:58:17Z","closed_at":null,"author_association":"NONE","body":"- Laravel Version: 5.5.*\r\n- PHP Version: 7.1.1\r\n- Laravel-admin: 1.5.x-dev\r\n\r\n### Description:\r\nI want to add [ACEEditor](https://ace.c9.io/) as a new form field. I followed the structure how i added ckEditor with it. But i think if the class name of the Extension Field Class  is different from \"CKEditor\" is not loading in Form::extend function in bootstrap.php. \r\n\r\n### Steps To Reproduce:\r\n\r\nI tested it by just copying the \"CKEditor\" file to the same directory and saved it to \"CKEditors\", then also changed the classname according to the filename. Then extended the form field from bootstrap.php. But it seemed not working. But when i'm using only CKEditor class and then it works as extending name \"aceditor\"\r\n\r\n![image](https://user-images.githubusercontent.com/6489365/39095147-bf6fed50-465d-11e8-9981-5cd905dcae8f.png)\r\nRenamed File which is not working, doesn't even call the render function[Tried by vardump random text here]\r\n\r\n![image](https://user-images.githubusercontent.com/6489365/39095148-ca2e2e28-465d-11e8-8248-1c75d0c5bb72.png)\r\nbootstrap.php\r\n\r\n\r\n![image](https://user-images.githubusercontent.com/6489365/39095162-0c3e8f4c-465e-11e8-85f4-44a9a972e667.png)\r\nOriginal CKEditor which works\r\n\r\n![image](https://user-images.githubusercontent.com/6489365/39095188-42fe2628-465e-11e8-8253-c1706937ee6f.png)\r\nThe form building \r\n\r\n![image](https://user-images.githubusercontent.com/6489365/39095214-97223d3e-465e-11e8-99b7-d0b063f61cff.png)\r\nThe aceditor class with which i tried first, when i saw that it doesn't even call the render function, then i tried for those testing.\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/z-song/laravel-admin/issues/comments/383387471","html_url":"https://github.com/z-song/laravel-admin/issues/1962#issuecomment-383387471","issue_url":"https://api.github.com/repos/z-song/laravel-admin/issues/1962","id":383387471,"user":{"login":"z-song","id":1479100,"avatar_url":"https://avatars3.githubusercontent.com/u/1479100?v=4","gravatar_id":"","url":"https://api.github.com/users/z-song","html_url":"https://github.com/z-song","followers_url":"https://api.github.com/users/z-song/followers","following_url":"https://api.github.com/users/z-song/following{/other_user}","gists_url":"https://api.github.com/users/z-song/gists{/gist_id}","starred_url":"https://api.github.com/users/z-song/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/z-song/subscriptions","organizations_url":"https://api.github.com/users/z-song/orgs","repos_url":"https://api.github.com/users/z-song/repos","events_url":"https://api.github.com/users/z-song/events{/privacy}","received_events_url":"https://api.github.com/users/z-song/received_events","type":"User","site_admin":false},"created_at":"2018-04-22T14:58:17Z","updated_at":"2018-04-22T14:58:17Z","author_association":"OWNER","body":"How do you register the `ACEditor` extension?"}}
{"actor":{"display_login":"z-song"}}