Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issues in Field Type editor #1260

Closed
rinkuyadav999 opened this issue Feb 6, 2017 · 1 comment
Closed

Issues in Field Type editor #1260

rinkuyadav999 opened this issue Feb 6, 2017 · 1 comment
Milestone

Comments

@rinkuyadav999
Copy link
Contributor

rinkuyadav999 commented Feb 6, 2017

Issue description:

Button to open editor do not display "Open editor" and also it is simply a '#'. do not open editor.

Version used:

(Did you try using the develop branch from github? There's a chance your issue has already been adressed there)
2.4.0-beta.2

Using theme_mods or options?

theme_mods

Code to reproduce the issue (config + field(s))

myprefix_option::add_config( 'myprefix_config', array(
	'capability'    => 'edit_theme_options',
	'option_type'   => 'theme_mod',
) );
myprefix_option::add_field( 'myprefix_config', array(
	'type'        => 'editor',
	'settings'    => 'copyright_left',
	'label'       => esc_attr__( 'Copyright Left Content', 'txtdomn' ),
	'section'     => 'copyright_options',
	'default'     => '<p>' . __( '&copy; Copyright text.', 'txtdomn' ) . '</p>',
	'priority'    => 10,
	'transport' => 'postMessage',
	'js_vars'   => array(
		array(
			'element'  => '.copyright-customize',
			'function' => 'html',
		),
	),
) );
@aristath
Copy link
Contributor

fixed in develop branch

@aristath aristath modified the milestone: 3.0 Apr 23, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants