# profile-builder/2.0.4/assets/lib/wck-api/fields/wysiwyg editor.php

User Profile Builder – Beautiful User Registration Forms, User Profiles &amp; User Role Editor, version 2.0.4. 10 lines.

- Page: https://pluginprobe.com/plugins/profile-builder/2.0.4/code/assets/lib/wck-api/fields/wysiwyg%20editor.php
- Raw: https://pluginprobe.com/plugins/profile-builder/2.0.4/raw/assets/lib/wck-api/fields/wysiwyg%20editor.php
- Modified: 2014-10-21T13:22:44+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/profile-builder/2.0.4/code/assets/lib/wck-api/fields/wysiwyg%20editor.php#L10-L20`.

```php
<?php 
 /* @param string $meta Meta name.	 
 * @param array $details Contains the details for the field.	 
 * @param string $value Contains input value;
 * @param string $context Context where the function is used. Depending on it some actions are preformed.;
 * @return string $element input element html string. */
 
$element .= '<textarea name="'. esc_attr( Wordpress_Creation_Kit_PB::wck_generate_slug( $details['title'], $details ) ) .'" style="vertical-align:top;width:400px;height:200px" class="mb-textarea mb-field '. esc_attr( Wordpress_Creation_Kit_PB::wck_generate_slug( $details['title'] ) ) .'">'. esc_html( $value ) .'</textarea>';
$element .= '<script type="text/javascript">jQuery( function(){ if ( typeof wckInitTinyMCE == "function" ) wckInitTinyMCE("'. Wordpress_Creation_Kit_PB::wck_generate_slug( $details['title'], $details ) .'")});</script>';
?>
```
