Support » Plugin: CKEditor for WordPress » Default font size displayed in editor

  • Hello

    This plugin is very good, I have some needs let’s see if it’s possible! Do I need to change the default font size displayed in the editor in which file I can change? In the editor field I want to limit the number of characters and put a counter that displays the number of characters and that decreases as the characters are typed. In case these changes must be applied in the editor that appears in my theme that only displays the field without the additional tools of the plugin.

    Thank you,

    Carlos

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Contributor vokiel

    (@vokiel)

    Hi,

    Do I need to change the default font size displayed in the editor in which file I can change?

    You can naviage to CKEditor – Advanced Settings /wp-admin/admin.php?page=ckeditor_advanced_options an there select the Define css, and enter path for the css file. This will set the contentCss config rule.

    In the editor field I want to limit the number of characters and put a counter that displays the number of characters and that decreases as the characters are typed.

    AFAIR there is no ready plugin for this. There is one for counters: Word Count & Char Count Plugin but it won’t limit it. So you’ll probably need to code some by yourself. This topic on SO can be helpful http://stackoverflow.com/questions/27231626/ckeditor-character-limitation-with-charcount-plugin

    Hello,

    Thank you for the information. Now a more urgent problem has arisen! In my theme I use the default wordpress editor, when I installed the ckeditor plugin automatically the default field was replaced. The field was left without the toolbars, it was great only when a text is inserted and then saved appears html tags. I think the field got the html default how can I change this? Do I have to enter the theme file? What should I do to the field in the theme to stay in the visual pattern!

    Thank you

    Hello,

    Analyzing this situation I only need to know what change I should make in the code to display the field of my theme as visual. See the code:

    <?php if($agent_id && $agent_id != ”) { ?>
    <h2 class=”pageHeader”><?php esc_html_e(‘Manage Agent Profile Information’, ‘mytheme’); ?></h2>
    <div class=”row”>
    <div class=”col-xs-12 col-sm-12 col-md-12 col-lg-12″>
    <div class=”form-group agentEditor” id=”isDesc”>
    <label for=”agent_about”><?php esc_html_e(‘About’, ‘mytheme’); ?></label>
    <?php
    $html_content = isset($agent_about) ? $agent_about : ”;
    $settings = array(
    ‘teeny’ => true
    );
    wp_editor($html_content, ‘agent_about’, $settings);
    ?>
    </div>
    </div>

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Default font size displayed in editor’ is closed to new replies.