@@ -47,7 +47,7 @@ const customer = (init) => {
|
||||
init.placeholder = props.placeholder
|
||||
|
||||
// Paste pictures and automatically process base64
|
||||
init.urlconverter_callback = (url, node, onSave, name) => {
|
||||
init.urlconverter_callback = (url, node, _onSave, _name) => {
|
||||
if (node === 'img' && url.startsWith('blob:')) {
|
||||
tinymce.activeEditor && tinymce.activeEditor.uploadImages()
|
||||
}
|
||||
@@ -73,7 +73,7 @@ onMounted(() => {
|
||||
// Listen for text changes and pass them to the outside world
|
||||
watch(
|
||||
() => state.contentValue,
|
||||
(n) => {
|
||||
() => {
|
||||
debounce(() => {
|
||||
emit('update:modelValue', state.contentValue)
|
||||
})
|
||||
@@ -112,7 +112,5 @@ const imgUploadFn = async (blobInfo, success, failure) => {
|
||||
return failure(`HTTP Error: ${response.status}`)
|
||||
}
|
||||
|
||||
const { myInit, contentValue, timeout } = toRefs(state)
|
||||
const { myInit, contentValue } = toRefs(state)
|
||||
</script>
|
||||
|
||||
<style></style>
|
||||
|
||||
@@ -54,8 +54,8 @@ const onToggle = () => {
|
||||
}
|
||||
|
||||
&--selected .checkbox-field__box {
|
||||
background: #999999;
|
||||
border-color: #999999;
|
||||
background: #999;
|
||||
border-color: #999;
|
||||
}
|
||||
|
||||
&__box {
|
||||
|
||||
@@ -122,7 +122,7 @@ onBeforeUnmount(revokePreview)
|
||||
align-items: center;
|
||||
gap: 0.75rem;
|
||||
padding: 1rem;
|
||||
background: #eeeeee;
|
||||
background: #eee;
|
||||
border-radius: 1.5rem;
|
||||
min-height: 18rem;
|
||||
justify-content: space-between;
|
||||
|
||||
Reference in New Issue
Block a user