Skip to content

salthq/ckeditor_dynamic_text

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dynamic text plugin for CK Editor 5

A CK Editor 5 plugin which adds a button allowing users to insert labels for content to be replaced with dynamic text Screenshot

Instructions

  1. Install the npm package
npm install @pango-studio/ckeditor_dynamic_text
  1. Add the plugin and configuration to your CK editor instance
import InsertDynamicText from '@pango-studio/ckeditor_dynamic_text/src/InsertDynamicText';
...

ClassicEditor
	.create( editorElement, {
		plugins: [ ..., InsertDynamicText],
		toolbar: [ ..., 'InsertDynamicText'],
		dynamicTextOptions: {
                	labels: ['app_name', 'app_url', 'user_email', 'password_link'],
        	},
	})

About

A CK Editor 5 plugin which adds a button allowing users to insert labels for content to be replaced with dynamic text

Resources

Stars

Watchers

Forks

Releases

No releases published