I'm currently using Rails with tinymce 5.0, but I can't seem to change the font style in the highlighted blank line. Here's an example scenario with two lines as shown below: https://i.sstatic.net/CYdzf.png
If you try to select everything and change the font style: https://i.sstatic.net/npGrB.png
The empty line remains in the default Arial 11 font size: https://i.sstatic.net/ZftrS.png
Below is my current tinymce configuration setup:
selector: "textarea.tinymce",
fontsize_formats: "8pt 9pt 10pt 11pt 12pt 13pt 14pt 18pt 24pt 36pt",
language: "pt_BR",
toolbar: ["undo redo | fontselect fontsizeselect | bold italic underline subscript superscript",
"backcolor forecolor removeformat | editimage imageoptions | bullist numlist table | alignleft alignjustify aligncenter alignright | searchreplace | save "],
menubar: false,
plugins: "table, image, imagetools, searchreplace, lists, media, textcolor, autosave, save, paste",
content_css: ["<%= asset_url 'tinymce-content.css' %>"],
media_live_embeds: true,
branding: false,
width: "767",
resize: false,
media_filter_html: false,
media_live_embeds: true,
save_enablewhendirty: true,
paste_retain_style_properties: "font-size,color,font-family",
paste_webkit_styles: "font-size,color,font-family",
save_onsavecallback: showPageCount,
paste_word_valid_elements:"span,p,b,strong,i,em,h1,h2,h3,h4,h5,h6",
extended_valid_elements : "video[controlslist|draggable|controls|id|src|data-id|preload|width|height|data-setup],source[src|type]"
Is there a way to ensure that the empty line also follows the selected font style?