please advice – I create my own plugin, which will allow to edit custom fields; after approving plugin will join custom fields into standard WordPress post. I have my DB table to save such custom posts, I have to create the text editor. The editor is for Administrator user only, not for guests etc. But I have to minimize possibility for errors and I do not want Admin to create the post manually – that is why I need an custom one.
First, I have to create the text editor. I want a visual editor like the one the WordPress uses.
Next, there is a need to include Media Library for uploading and editting media content (images, videos). Media Library in WordPress uses AJAX, it is pretty and user-friendly, so I would like this one.
Is there a way, how to re-use the editor used in WordPress but add some fields around it?
Or is there a way how to include Media Library in plugin’s editor (with AJAX etc.)