Title: Shortcake (Shortcode UI) Richtext
Author: Mike Crantea
Published: <strong>ऑगस्ट 26, 2016</strong>
Last modified: मार्च 24, 2018

---

प्लगइन शोधा

![](https://ps.w.org/shortcode-ui-richtext/assets/banner-772x250.png?rev=1644193)

हे प्लगइन **WordPress च्या शेवटच्या 3 महत्त्वाच्या प्रमुख पुनर्वितरणांच्या साथी 
चाचणी झालेले नाही**. हे येथे वापरल्यास सामर्थ्य देणार नाही किंवा त्या आधारित असु
शकते आणि WordPress च्या अधिक अद्ययावत आवृत्तींसह वापरताना संगतता समस्यांची शक्यता
आहे.

![](https://ps.w.org/shortcode-ui-richtext/assets/icon-256x256.png?rev=1644193)

# Shortcake (Shortcode UI) Richtext

 [Mike Crantea](https://profiles.wordpress.org/mihai2u/) कडून

[डाउनलोड करा](https://downloads.wordpress.org/plugin/shortcode-ui-richtext.zip)

 * [तपशील](https://mr.wordpress.org/plugins/shortcode-ui-richtext/#description)
 * [पुनरावलोकने](https://mr.wordpress.org/plugins/shortcode-ui-richtext/#reviews)
 *  [इंस्टॉलेशन](https://mr.wordpress.org/plugins/shortcode-ui-richtext/#installation)
 * [डेव्हलोपमेंट](https://mr.wordpress.org/plugins/shortcode-ui-richtext/#developers)

 [समर्थन](https://wordpress.org/support/plugin/shortcode-ui-richtext/)

## वर्णन

This plug-in extends on the capabilities of [Shortcake (Shortcode UI)](https://en.wordpress.org/plugins/shortcode-ui/)
by adding rich text editing capabilities to textarea inputs in the Shortcake interface,
when the specific textarea constructors contain the shortcake-richtext class name.

It uses [TinyMCE](https://www.tinymce.com).

## स्क्रीनशॉट

 * [[
 * This screenshot shows a rich text enabled textarea in the Shortcake interface.

## स्थापना

You need the latest version of of [Shortcake (Shortcode UI)] installed and activated.

 1. Upload the plugin files to the `/wp-content/plugins/shortcode-ui-richtext` directory.
 2. Activate the plugin through the ‘Plugins’ screen in WordPress
 3. Add the meta class option to the textarea input type of an existing shortcake register_for_shortcode
    call.
 4. Due to the possibility of the user entered content to contain special characters
    like [, ] and “, it is highly recommended to turn on the encode flag as well.
     `
    php 'encode' => true, 'meta' => array( 'class' => 'shortcake-richtext', ),

## नेहमी विचारले जाणारे प्रश्न

  Installation Instructions

You need the latest version of of [Shortcake (Shortcode UI)] installed and activated.

 1. Upload the plugin files to the `/wp-content/plugins/shortcode-ui-richtext` directory.
 2. Activate the plugin through the ‘Plugins’ screen in WordPress
 3. Add the meta class option to the textarea input type of an existing shortcake register_for_shortcode
    call.
 4. Due to the possibility of the user entered content to contain special characters
    like [, ] and “, it is highly recommended to turn on the encode flag as well.
     `
    php 'encode' => true, 'meta' => array( 'class' => 'shortcake-richtext', ),

  How does an example rich textarea input element shortcake register code looks 
like?

This is a default shortcode with a single textarea:

    ```
    `php
    ```

shortcode_ui_register_for_shortcode( ‘shortcode_name’,
 array( ‘label’ => esc_html__(‘
Shortcode Name’, ‘namespace’ ), ‘listItemImage’ => ‘dashicons-text’, ‘attrs’ => 
array( array( ‘label’ => esc_html__( ‘Text Element’, ‘namespace’ ), ‘attr’ => ‘text_element’,‘
type’ => ‘textarea’, ), ), ) ); `

This is the same code with the richtext capability added in on the text_element:

    ```
    `php
    ```

shortcode_ui_register_for_shortcode( ‘shortcode_name’,
 array( ‘label’ => esc_html__(‘
Shortcode Name’, ‘namespace’ ), ‘listItemImage’ => ‘dashicons-text’, ‘attrs’ => 
array( array( ‘label’ => esc_html__( ‘Text Element’, ‘namespace’ ), ‘attr’ => ‘text_element’,‘
type’ => ‘textarea’, ‘encode’ => true, ‘meta’ => array( ‘class’ => ‘shortcake-richtext’,),),),));`

Outputting requires decoding, and since Shortcake uses url encoding, the attribute
powered by the rich text editor needs to be urldecoded before rendering its contents,
like in the following example using the `urldecode` [function](http://php.net/manual/ro/function.urldecode.php):

    ```
    `php
    ```

function shortcode_name( $atts ) {
 extract( shortcode_atts( array( ‘text_element’
=> ”, ), $atts )); return ‘

‘ . urldecode( $text_element ) . ‘

‘;
 } `

  This doesn’t work although I added the class according to the instructions. Am
I missing anything?

Before submitting a report on the [GitHub Issue tracker](https://github.com/xwp/wp-shortcode-ui-richtext/issues),
please ensure the issue you are experiencing does not exist with using the latest
Shortcake (Shortcode UI) version downloaded from their own [GitHub repository](https://github.com/wp-shortcake/shortcake).

## समीक्षा

ह्या प्लगइनसाठी कोणतेही समीक्षण नाही.

## योगदानकर्ते आणि विकसक

“Shortcake (Shortcode UI) Richtext” हे मुक्त स्रोत सॉफ्टवेअर आहे. पुढील लोक या प्लगइनच्या
निर्मितीत योगदान केले आहे.

योगदानकर्ते

 *   [ Mike Crantea ](https://profiles.wordpress.org/mihai2u/)
 *   [ XWP ](https://profiles.wordpress.org/xwp/)
 *   [ Ben Greeley ](https://profiles.wordpress.org/bengreeley/)

[भाषांतर करा “Shortcake (Shortcode UI) Richtext” तुमच्या भाषेत.](https://translate.wordpress.org/projects/wp-plugins/shortcode-ui-richtext)

### विकासातील आग्रह?

[कोड ब्राउझ करा](https://plugins.trac.wordpress.org/browser/shortcode-ui-richtext/),
[SVN संग्रहालय](https://plugins.svn.wordpress.org/shortcode-ui-richtext/) तपासा,
किंवा [विकास लॉग](https://plugins.trac.wordpress.org/log/shortcode-ui-richtext/)
च्या [RSS](https://plugins.trac.wordpress.org/log/shortcode-ui-richtext/?limit=100&mode=stop_on_copy&format=rss)
द्वारे सदस्यता घ्या.

## बदलांची यादी

#### 0.1 (August 19, 2016)

Initial release.

#### 0.2 (October 3, 2016)

Modified SummerNote default configuration to initialise a toolbar which is more 
WordPress-friendly.
 Added more examples to the readme. Ads default rich text editing
to the shortcode inner_content.

#### 1.0 (April 25, 2017)

Replaced SummerNote by highly requested TinyMCE for a familiar WordPress experience.

#### 1.1 (September 11, 2017)

“Add Media” button is now present next to the TinyMCE editor.

#### 1.2 (March 15, 2018)

Fixes issues with multiple editors on page and timing issues with initialising and
unloading TinyMCE.

#### 1.3 (March 24, 2018)

Fix active editor modal bug occurring when multiple fields had editors.

## मेटा

 *  आवृत्ती **1.3**
 *  शेवटचा अद्यतन **8 वर्षे पूर्वी**
 *  सक्रिय स्थापना **200+**
 *  वर्डप्रेस आवृत्ती ** 4.5 किंवा मोठा **
 *  परीक्षित केले आहे **4.9.29**
 *  भाषा
 * [English (US)](https://wordpress.org/plugins/shortcode-ui-richtext/)
 * टॅग
 * [shortcodes](https://mr.wordpress.org/plugins/tags/shortcodes/)
 *  [प्रगत दृश्य](https://mr.wordpress.org/plugins/shortcode-ui-richtext/advanced/)

## मूल्यांकन

अजून कोणतीही पुनरावलोकने सबमिट केलेली नाहीत.

[Your review](https://wordpress.org/support/plugin/shortcode-ui-richtext/reviews/#new-post)

[सर्व पुनरावलोकने पहा](https://wordpress.org/support/plugin/shortcode-ui-richtext/reviews/)

## योगदानकर्ते

 *   [ Mike Crantea ](https://profiles.wordpress.org/mihai2u/)
 *   [ XWP ](https://profiles.wordpress.org/xwp/)
 *   [ Ben Greeley ](https://profiles.wordpress.org/bengreeley/)

## समर्थन

काहीतरी सांगायचं आहे का? मदतीची आवश्यकता आहे का?

 [समर्थन फोरम पहा](https://wordpress.org/support/plugin/shortcode-ui-richtext/)