이 플러그인은 최근 3개의 주요 워드프레스 출시와 시험 되지 않았습니다. 워드프레스의 좀 더 최근 버전으로 이용할 때 더 이상 관리되지 않고 지원되지 않고 호환성 문제가 있을 수 있습니다.

Just TinyMCE Custom Styles

설명

This plugin controls the TinyMce “style_formats” parameter. It allows adding custom formatters to the Wysiwyg editor.

This is only a user interface to the standard feature, which is disabled by default and explained in the official
documentation on codex.wordpress.org: https://codex.wordpress.org/TinyMCE_Custom_Styles

Features

  • Load Settings from DB or .json file from theme
  • Enable/Disable some style_format features for more clean formatting
  • Nice interface to quickly add your formats
  • Ability to apply custom editor css for each rule separately
  • You can group your styles for more clear usage
  • Bootstrap preset: pre-defined bootstrap styles for editor.

Example: Custom link class

For example, you can define an addition dropdown option of the css classes for the link tag.
To do so, create such row formatter:.

  • Title: My Link Style
  • Selector: a
  • Classes: my-link-style
  • Editor CSS: a.my-link-style { color:red; }

Plugin Demo

Presets

We added special feature called “Presets” – these are pre-defined styles included inside the plugin.
You can import them to your site with a single click.

With presets we plan to add popular CSS framework classes to be able to use them inside the editor.
We started with a Bootstrap preset, because it’s one of the most popular CSS framework right now.

ISSUES TRACKER

If you have any feedbacks or bugs found, please write to our GitHub issues tracker:
https://github.com/justcoded/just-tinymce-custom-styles/issues

스크린샷

  • Plugin settings page where you can enable/disable formatter options
  • Style formatters edit
  • WordPress editor look
  • Bootstrap styles preset

설치

  1. Download, unzip and upload to your WordPress plugins directory.
  2. Activate the plugin within your WordPress Administration Backend.
  3. Go to Settings > TinyMCE Custom Styles.
  4. Open the Settings page, enable required elements and save Settings.
  5. Open the TinyMCE Styles page and add your options.
  6. Save values.

후기

2018년 8월 7일 답글 1개
When activating the plugin I’m receiving the following error: Fatal error: Class ‘jtmce\core\Singleton’ not found in \wp-content\plugins\just-tinymce-styles\just-tiny-mce-styles.php on line 20
2017년 3월 15일 답글 1개
This works well, however a lot of knowledge is assumed. I think the documentation could be a lot clearer.
2016년 10월 9일
Where has this been for so long 🙂 This really is a great little plugin (for TinyMCE advanced) that lets developers add specific class elements that any WYSIWYG user can use without needing to go into the code to add a class element to a required tag. With options to have a class title that makes sense to anyone, plus the ability to add the class to a tag selector or name to a specific tag just makes it so easy to use in the WYSIWYG editor. The ability to add additional styles is a bonus, however I tend to leave those blank (my personal choice) and simply have the sites theme editor css file contain the styles predefined. Some may say why not just use the editor css file for classes under the formats menu? While that does work this plugin allows you to have full control of all editor classes you want to use within the editor that are easier to use and to match your front end styles. You may need to experiment a little to get the correct class added to your required tag, but once it is all done the WYSIWYG TinyMCE Editor is so much more useful. The main benefit of this is that you can be sure you are adding the required class (and styles) to the tags YOU want. Big thanks to the developer, please keep this plugin alive …
모든 6 평가 읽기

기여자 & 개발자

“Just TinyMCE Custom Styles”(은)는 오픈 소스 소프트웨어입니다. 다음의 사람들이 이 플러그인에 기여하였습니다.

기여자

자국어로 “Just TinyMCE Custom Styles”(을)를 번역하세요.

개발에 관심이 있으십니까?

코드 탐색하기는, SVN 저장소를 확인하시거나, 개발 기록RSS로 구독하세요.

변경이력

  • Version 1.2
    • Fixed preset import: If you don’t have “type” feature enabled in your settings, import will enable it for you.
  • Version 1.1
    • Ability to group new styles into dropdowns
    • Presets: pre-defined list of styles. Bootstrap added.
  • Version 1.0
    • First version of the plugin