RevCMS Housekeeping/News?

Status
Not open for further replies.

Bran

habcrush.pw
Mar 13, 2017
1,789
1,608
hey guys, i wondered if anyone has a basic spare revcms housekeeping as mine doesn't allow me to imput html documents and doesn't let me edit/add pictures, centring text etc
You must be registered for see images attach
 
Solution
I like TinyMCE.

Here's how you use it:

Get an API key: (you need an account, it's free)

On your website, take note of the textarea you want to be WYSIWYG.

Include the TinyMCE JS (It'll give you the code you need on the dashboard):
HTML:
<script src="https://cdn.tiny.cloud/1/YOUR_API_KEY/6/tinymce.min.js" referrerpolicy="origin"></script>

And then add the JS to initialize it (this is just an example, add and remove plugins/options as you need):

JavaScript:
tinymce.init({
  selector: 'textarea#ID_OF_TEXTAREA',
  menubar: false,
  inline: true,
  plugins: [
    'autolink', 'autoresize', 'codesample', 'link', 'lists', 'media',
    'powerpaste', 'table', 'image', 'quickbars', 'codesample'...

Bran

habcrush.pw
Mar 13, 2017
1,789
1,608
There's quite a few out there, I would avoid using this one. If I recall correctly it has quite a few exploits..
it was just the one that was on my cms, i used to have a better one but i can't find it in my files
 

JayC

Always Learning
Aug 8, 2013
5,505
1,401
You can just update the textarea to support a text editor plugin, however I do believe as well this has exploits.
 

Bran

habcrush.pw
Mar 13, 2017
1,789
1,608
It's called a wysiwyg editor, use tinymce, CKeditor, fraola, or whatever you think fits your need
i've tried to do it and i can't, being a bad bitch only requires me to be able to edit my hotel, swfs, add furni, make sexy rooms ads and that's about it to be honest🧍‍♂️
 

TesoMayn

Boredom, it vexes me.
Oct 30, 2011
1,482
1,482
I like TinyMCE.

Here's how you use it:

Get an API key: (you need an account, it's free)

On your website, take note of the textarea you want to be WYSIWYG.

Include the TinyMCE JS (It'll give you the code you need on the dashboard):
HTML:
<script src="https://cdn.tiny.cloud/1/YOUR_API_KEY/6/tinymce.min.js" referrerpolicy="origin"></script>

And then add the JS to initialize it (this is just an example, add and remove plugins/options as you need):

JavaScript:
tinymce.init({
  selector: 'textarea#ID_OF_TEXTAREA',
  menubar: false,
  inline: true,
  plugins: [
    'autolink', 'autoresize', 'codesample', 'link', 'lists', 'media',
    'powerpaste', 'table', 'image', 'quickbars', 'codesample', 'help'
  ],
  toolbar: false,
  quickbars_insert_toolbar: 'quicktable image media codesample',
  quickbars_selection_toolbar: 'bold italic underline | blocks | bullist numlist | blockquote quicklink',
  contextmenu: 'undo redo | inserttable | cell row column deletetable | help',
  powerpaste_word_import: 'clean',
  powerpaste_html_import: 'clean',
});
 
Solution

Bran

habcrush.pw
Mar 13, 2017
1,789
1,608
I like TinyMCE.

Here's how you use it:

Get an API key: (you need an account, it's free)

On your website, take note of the textarea you want to be WYSIWYG.

Include the TinyMCE JS (It'll give you the code you need on the dashboard):
HTML:
<script src="https://cdn.tiny.cloud/1/YOUR_API_KEY/6/tinymce.min.js" referrerpolicy="origin"></script>

And then add the JS to initialize it (this is just an example, add and remove plugins/options as you need):

JavaScript:
tinymce.init({
  selector: 'textarea#ID_OF_TEXTAREA',
  menubar: false,
  inline: true,
  plugins: [
    'autolink', 'autoresize', 'codesample', 'link', 'lists', 'media',
    'powerpaste', 'table', 'image', 'quickbars', 'codesample', 'help'
  ],
  toolbar: false,
  quickbars_insert_toolbar: 'quicktable image media codesample',
  quickbars_selection_toolbar: 'bold italic underline | blocks | bullist numlist | blockquote quicklink',
  contextmenu: 'undo redo | inserttable | cell row column deletetable | help',
  powerpaste_word_import: 'clean',
  powerpaste_html_import: 'clean',
});
i love you
 
Status
Not open for further replies.

Users who are viewing this thread

Top