*

Locan

  • ***
  • 166 posts
text editor not show in front end for user
« on: June 25, 2018, 01:29:55 PM »
i seen on publish file it have js file but why it not show text editor style. it's so hard for upload image in content.


how to fix it

JS file link in publish file
Code: [Select]
<script type="text/javascript" src="<?php echo osc_assets_url('js/tinymce/tinymce.min.js'); ?>"></script>

<script type="text/javascript">
  tinyMCE.init({
    selector: "textarea#s_description",
    mode : "textareas",
    width: "100%",
    height: "440px",
    language: "kh",
    content_css : ["//fonts.googleapis.com/css?family=Open+Sans:300,600&amp;subset=latin,latin-ext"],
    content_style: ".mce-content-body {font-family:'Open Sans',Helvetica,Arial,sans-serif;font-size:13px;}",
    theme_advanced_toolbar_align : "left",
    theme_advanced_toolbar_location : "top",
    plugins : [
      "advlist autolink lists link image charmap preview anchor",
      "searchreplace visualblocks code fullscreen",
      "insertdatetime media table contextmenu paste"
    ],
    entity_encoding : "raw",
    theme_advanced_buttons1_add : "forecolorpicker,fontsizeselect",
    theme_advanced_buttons2_add: "media",
    theme_advanced_buttons3: "",
    theme_advanced_disable : "styleselect,anchor",
    relative_urls : false,
    remove_script_host : false,
    convert_urls : false
  });

</script>

*

MB Themes

Re: text editor not show in front end for user
« Reply #1 on: June 25, 2018, 01:39:22 PM »
@dom
Check if you do not have javascript errors on page.
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

Locan

  • ***
  • 166 posts
Re: text editor not show in front end for user
« Reply #2 on: June 25, 2018, 02:04:10 PM »
i got this error

*

MB Themes

Re: text editor not show in front end for user
« Reply #3 on: June 25, 2018, 02:15:03 PM »
@dom
On what theme is error present?
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

Locan

  • ***
  • 166 posts
Re: text editor not show in front end for user
« Reply #4 on: June 25, 2018, 02:44:11 PM »
veronika

*

MB Themes

Re: text editor not show in front end for user
« Reply #5 on: June 25, 2018, 03:05:26 PM »
@dom
Tested on demo site (veronika) and could not reproduce.
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

Locan

  • ***
  • 166 posts
Re: text editor not show in front end for user
« Reply #6 on: June 25, 2018, 03:33:06 PM »
i don't know why i got this error.  i can't fix it

*

MB Themes

Re: text editor not show in front end for user
« Reply #7 on: June 25, 2018, 03:45:47 PM »
@dom
Try to use original theme & plugin files only
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

Locan

  • ***
  • 166 posts
Re: text editor not show in front end for user
« Reply #8 on: June 25, 2018, 04:17:38 PM »
latest veronika and blog plugin still not work

*

MB Themes

Re: text editor not show in front end for user
« Reply #9 on: June 25, 2018, 05:04:35 PM »
@dom
Have you used just blog plugin? you sitll have probably some errors in console.
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

Locan

  • ***
  • 166 posts
Re: text editor not show in front end for user
« Reply #10 on: July 01, 2018, 05:47:49 AM »
it's not work when use Minify  plugin

*

Locan

  • ***
  • 166 posts
Re: text editor not show in front end for user
« Reply #11 on: July 01, 2018, 06:16:47 AM »
i try to add remove hook in publish page but it not work (monify still work)
Code: [Select]
<?php osc_remove_hook('header''minify');?>
i need to use modify plugin from osclass because your monify plugin not work with js compress
regard

*

MB Themes

Re: text editor not show in front end for user
« Reply #12 on: July 02, 2018, 12:31:43 PM »
@dom
Remove it in plugin.
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

Locan

  • ***
  • 166 posts
Re: text editor not show in front end for user
« Reply #13 on: July 02, 2018, 01:31:34 PM »
just want to remove it when i in publish article page