|
|
@@ -76,7 +76,6 @@ if (!empty($noeditor)) { |
|
|
|
<script> |
|
|
|
$("#btnAIAction").click(async function() { |
|
|
|
let body = window.opener.CKEDITOR.instances["<?php echo $f ?>"].getData(); |
|
|
|
console.log(body); |
|
|
|
let prompt = document.getElementById("prompt").value; |
|
|
|
let modelid = document.getElementById("modelid").value; |
|
|
|
let req = await fetch(`api.php?action=get_ai_server&pname=body_edit&modelid=${modelid}&prompt=${prompt}`); |
|
|
|