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

Editor field #968

Closed
thatvideowebguy opened this issue May 12, 2016 · 10 comments
Closed

Editor field #968

thatvideowebguy opened this issue May 12, 2016 · 10 comments
Milestone

Comments

@thatvideowebguy
Copy link

thatvideowebguy commented May 12, 2016

Issue description:

Is there a way to have a working wysiwyg Wp editor field ?
I tried the editor Type, but I'm experciencing some bug
Info not saved, can't clic on save (not active), link not displayed ...
I didn't found more on this type (editor) on the doc.
Still in developpment ?
Thanks

Version used:

github

Using theme_mods or options?

theme_mods

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

s_Kirki::add_field( 's_theme', array(
'type' => 'editor',
'settings' => 'footer_txt',
'label' => esc_attr
( 'Texte du footer', 'my_textdomain' ),
'section' => 'footer',
'priority' => 10,

) );

@thatvideowebguy
Copy link
Author

Hello again, same issue,

No way to add color on the editor ?

Thanks

@thatvideowebguy
Copy link
Author

Hello again,
No one facing similar issue with the editor field ?

now , all seems working excepting adding link and color to text (no button for this one) ? Anyone ?
Thanks

@nickkuijpers
Copy link

Not working by me ;(

@thatvideowebguy
Copy link
Author

+1

@rinkuyadav999
Copy link
Contributor

#1046

@thatvideowebguy
Copy link
Author

thatvideowebguy commented Jan 9, 2017

we can add some options to the editor field by editing ; includes\field\class-kirki-field-editor.php

`		         public static function add_editor() {
			   ( 'tiny_mce' );
		echo '<div id="kirki_editor_pane" class="hide">';
		wp_editor( '', 'kirki-editor', array(
			'_content_editor_dfw' => false,
			'drag_drop_upload'    => true,
			'tabfocus_elements'   => 'content-html,save-post',
			'editor_height'       => 200,
			// 'default_editor'      => 'tinymce',
			'teeny'               => false,
			'media_buttons' => false,
			'tinymce'             => array(
				'resize'             => false,
				'wp_autoresize_on'   => false,
				'add_unload_trigger' => false,
			),
		) );
		echo '</div>';
		do_action( 'admin_footer' );
		do_action( 'admin_print_footer_scripts' );
	}`

but there's a lot of bug on css ( add link, dropdown styles and color, ...)
we have to modify css:; z-index.

@rinkuyadav999
Copy link
Contributor

#1246

@aristath
Copy link
Contributor

This has been fixed in the develop branch, closing.

@aristath aristath added this to the 3.0 milestone May 18, 2017
@maxviewup
Copy link

I am using the version 3.0.10 and still cannot use some wysiwig features (color, etc).

screenshot

@rhcarlosweb
Copy link

rhcarlosweb commented Apr 27, 2019

Hello, i have a problem with editor settings
How can i enable text color button on editor? @aristath

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

6 participants