Skip to content

virtualgadjo/soft-hyphen-in-pw-tinyMCE

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

Insert soft hyphen (­) in pw tinyMCE

easier it would be almost painful, sorry, I couldn't help myself 😀

obvious, but still...
all you need is the js file; the assets folder just contains the images that decorate the blah blah blah you're reading right now.

to install it in pw, put the js file where you want, e.g. /site/modules/tiny (up to you) then go to modules -> configure -> InputfieldTinyMCE

module_choosetiny

and add the file path in the External plugin files textarea and save

register_plugin

now, in the field you want to use it, input tab, enable the plugin

enable_plugin

and add it to the toolbar (using the select list or simply writing its name in the input and hit enter)

add_button

now you should see a new button

button

result, wherever your cursor is in the text,

pointer

click on the shy "button", and this is what will happen.

result

a little something good to know
unlike CKEditor, as you can see, if you insert shoft hyphens in TinyMCE, you will see them in the source code of the field. Tiny must use its own HTML-style source code viewer to display them.

About

one more plusgin for tinyMCE in Processwire

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors