Tinymice on the title

Posted in: Newspaper
Post count: 3

Hi, I added in the function.php of the theme the code to insert the tinymce in the titles. Everything good. I would like it to be seen also on the flex 1 module. Is it possible to have a code string to add it inside the module? Thank you

This is the code I inserted inside the function.php of the theme:

function tinymce_title_js(){ ?>
<script type=”text/javascript”>
jQuery(document).ready( tinymce_title );
function tinymce_title() {
jQuery(“#title”).addClass(“mceEditor”);
//tinyMCE.execCommand(“mceAddControl”, false, “title”);
tinyMCE.execCommand(“mceAddEditor”, false, “title”);
}
</script>
<?php }
add_action( ‘admin_head-post.php’, ‘tinymce_title_js’);
add_action( ‘admin_head-post-new.php’, ‘tinymce_title_js’);
function tinymce_title_css(){ ?>
<style type=’text/css’>
#titlewrap{border:solid 1px #e5e5e5 !important;}
tr.mceLast{display:none;}
#title_ifr{height:50px !important;}
</style>
<?php }
add_action( ‘admin_head-post.php’, ‘tinymce_title_css’);
add_action( ‘admin_head-post-new.php’, ‘tinymce_title_css’);

Post count: 35449

Hi,

I’m not sure, but I think that it can be done if you have the proper skills, unfortunately this is custom work and is not covered buy the support team, if you want you can check our custom services from here -> https://tagdiv.com/web-development-services/

Thank you for your understanding!

Viewing 2 posts - 1 through 2 (of 2 total)
The forum ‘Newspaper’ is closed to new topics and replies.