{"action":"created","issue":{"url":"https://api.github.com/repos/ThemeFuse/Unyson/issues/1894","repository_url":"https://api.github.com/repos/ThemeFuse/Unyson","labels_url":"https://api.github.com/repos/ThemeFuse/Unyson/issues/1894/labels{/name}","comments_url":"https://api.github.com/repos/ThemeFuse/Unyson/issues/1894/comments","events_url":"https://api.github.com/repos/ThemeFuse/Unyson/issues/1894/events","html_url":"https://github.com/ThemeFuse/Unyson/issues/1894","id":171007870,"number":1894,"title":"implementing a box shortcode","user":{"login":"ahm-3d","id":9349172,"avatar_url":"https://avatars.githubusercontent.com/u/9349172?v=3","gravatar_id":"","url":"https://api.github.com/users/ahm-3d","html_url":"https://github.com/ahm-3d","followers_url":"https://api.github.com/users/ahm-3d/followers","following_url":"https://api.github.com/users/ahm-3d/following{/other_user}","gists_url":"https://api.github.com/users/ahm-3d/gists{/gist_id}","starred_url":"https://api.github.com/users/ahm-3d/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ahm-3d/subscriptions","organizations_url":"https://api.github.com/users/ahm-3d/orgs","repos_url":"https://api.github.com/users/ahm-3d/repos","events_url":"https://api.github.com/users/ahm-3d/events{/privacy}","received_events_url":"https://api.github.com/users/ahm-3d/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2016-08-13T12:56:01Z","updated_at":"2016-08-15T08:18:34Z","closed_at":null,"body":"currently we have an icon box shortcode that allows us to have an icon and  title in the same block, although we can add those seperately as they have their own respective shortcodes.\r\n\r\nthat in mind, i would like to implement a block shortcode that would allow me to add and order other shortcodes within in it so it would essentially act as a container that could be inserted into a column.\r\n\r\ni assume the block shortcode would need to work like the form builder shortcode, but how would allow all the other shortcodes to be added to it.\r\n\r\nan easy workaround would be to have the wp-editor option type in the block shortcode as the wp-editor allow for other shortcodes to be inserted into it, however i would need an option within the wp-editor to only display the shortcodes button option and to disable all the other wp-editor options including the ability to add text. "},"comment":{"url":"https://api.github.com/repos/ThemeFuse/Unyson/issues/comments/239751051","html_url":"https://github.com/ThemeFuse/Unyson/issues/1894#issuecomment-239751051","issue_url":"https://api.github.com/repos/ThemeFuse/Unyson/issues/1894","id":239751051,"user":{"login":"moldcraft","id":1475489,"avatar_url":"https://avatars.githubusercontent.com/u/1475489?v=3","gravatar_id":"","url":"https://api.github.com/users/moldcraft","html_url":"https://github.com/moldcraft","followers_url":"https://api.github.com/users/moldcraft/followers","following_url":"https://api.github.com/users/moldcraft/following{/other_user}","gists_url":"https://api.github.com/users/moldcraft/gists{/gist_id}","starred_url":"https://api.github.com/users/moldcraft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/moldcraft/subscriptions","organizations_url":"https://api.github.com/users/moldcraft/orgs","repos_url":"https://api.github.com/users/moldcraft/repos","events_url":"https://api.github.com/users/moldcraft/events{/privacy}","received_events_url":"https://api.github.com/users/moldcraft/received_events","type":"User","site_admin":false},"created_at":"2016-08-15T08:18:34Z","updated_at":"2016-08-15T08:18:34Z","body":"> however i would need an option within the wp-editor to only display the shortcodes button option and to disable all the other wp-editor options\r\n\r\nTry https://github.com/ThemeFuse/Unyson/issues/1888#issuecomment-239624314\r\n\r\n> i keep getting `<p> </p>`\r\n\r\ntry to set the [`wpautop` parameter](https://github.com/ThemeFuse/Unyson/blob/030b3d331ffe4383c6e7a75007651502f32282f0/framework/includes/option-types/wp-editor/class-fw-option-type-wp-editor.php#L20) to `false` \r\n\r\n----\r\n\r\nAt the moment I don't have a solution for what you are trying to achieve.\r\n\r\nA complicated and correct solution would be to create a sub extension of the `shortcodes` extension in your theme in \r\n\r\n```\r\n{theme}/framework-customizations/extensions/shortcodes/extensions/{your-prefix}-single-shortcode/\r\n```\r\n\r\nsimilar to [WP Shortcodes extension](https://github.com/ThemeFuse/Unyson-WP-Shortcodes-Extension) which is installed in\r\n\r\n```\r\nunyson/framework/extensions/shortcodes/extensions/wp-shortcodes\r\n```\r\n\r\nthat way it will be disabled in the `shortcodes` extension is disabled.\r\n\r\nAnd to created there your option-type, a hybrid between `wp-editor` and WP-Shortcodes functionality.\r\n\r\n"}}
{"actor":{"display_login":"moldcraft"}}