Daily Archives: 08/27/2020

Make TinyMCE Disable or Readonly

Javascript

Reference:

  1. https://stackoverflow.com/questions/13881812/make-readonly-disable-tinymce-textarea

TinyMce Get Instance

Javascript

HTML

Reference:

  1. https://stackoverflow.com/questions/36383626/how-do-i-get-tinymce-editor-instance-by-the-element-selector/36386886

AES Decrypt

AES/CBC/PKCS5Padding encryption

  1. MD5 Digest the password(REST_API_KEY) using SHA-256
  2. iv parameter is empty
  3. Decrypt the encrypted contents using AES/CBC/PKCS5Padding