Answers for "froala delete image"

0

froala delete image

<?php

// Include the editor SDK.
require 'PATH_TO_FROALA_SDK/lib/froala_editor.php';

// Delete the image.
try {
  $response = FroalaEditor_Image::delete($_POST['src']);
  echo stripslashes(json_encode('Success'));
}
catch (Exception $e) {
  http_response_code(404);
}

?>
Posted by: Guest on August-05-2021

Browse Popular Code Answers by Language