WYSIWYG Mobile Device (iPhone 8) Friendly

1 reply · opened Feb 27, 2021

SSemicolon WebSTAFFMar 1, 2021

Hello,

Simply use the following code at the bottom of the page replacing the old codes:

<script>
	jQuery(document).ready( function(){
		tinymce.init({
			selector: '#wysiwyg-editor',
			height: '400',
			setup: function(editor) {
				editor.on('change', function(e) {
					editor.save();
				});
			}
		});
	})
</script>

This will make the Height of the Editor to 400px, so that it is properly accessible on Mobile Devices.

Hope this Helps!

Let us know if we can help you with anything else or if you find any further issues.

Have the same question, or something new?

Sign in to the Canvas dashboard to reply or open your own topic. Canvas owners get direct help from the SemiColonWeb team.

Reply on the dashboard