Created
August 8, 2020 14:49
-
-
Save mcunha98/98bd490b030c9ce5b7e4eb552b33b3cd to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| function syncCKEditor(value) | |
| { | |
| CKEDITOR.instances[value].setData(document.getElementById(value).value); | |
| } | |
| //carrega a response para um textarea hidden | |
| $('#resumo').val(response.data.resumo); | |
| //reconecta o ckeditor com o valor atualizado | |
| syncCKEditor('resumo'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment