Sponsored Content
Top Forums Web Development New Font Awesome Icons in Quick Reply Editor Post 303027358 by Neo on Friday 14th of December 2018 04:21:06 AM
Old 12-14-2018
Update.

Harmonized the QRE Font Awesome icons with the "Advanced Editor".

Image

Also, worked on the same editor to get the font color picker to work in the AAEPE (Advanced and Edit Post Editor) (no joy yet) and to get the attachments to work in QRE (no joy yet). I think the issue is in the two different javascript files used for these two editors. Will need to look deeper into the JS code for these editors. Disabled the PHP and HTML bbcode in the advanced editor since they are mostly misused and we don't need the syntax highlighting for PHP and HTML. The basic code tags work well enough.

The main difference in the two editors are:
  1. Color Picker works in QRE but not in the AAEPE.
  2. Attachments work in the AE but not in the QRE.
  3. AE has post preview mode.


TODO:
  • Swap the ICODE icon with the CODE gif and add new fa-terminal FA icon for ICODE.
  • Replace code.gif icon with a screenshot of the new CODE icon for hints and directions.
  • Maybe reorder the AAEPE icons to match the QRE order to be consistent.
  • Look into fixing the conflicts or missing functions between the JS code for both editors.

EXTRA TODOs
  • Create a Bootstrap modal for the editor which explains how to use the two code tags (popup information modal)
  • Try to get the "upload attachment modal" I wrote to work 100% (not yet available to the site).
This User Gave Thanks to Neo For This Post:
 

6 More Discussions You Might Find Interesting

1. What is on Your Mind?

New jQuery to view Post Icons in Editor

I was reformatting the "advanced" WYSIWYG editor with bootstrap css and while there made the post icons to be invisible by default; so if you click on the text below the editor: Post Icons - Click to view the full list of message icons to add to your post: ... (0 Replies)
Discussion started by: Neo
0 Replies

2. What is on Your Mind?

New Icons Coming from Font Awesome

Finally making some progress on getting rid of the 10 year old buttons with modern day fonts and icons thanks to a responsive web design tutorial by Brad Traversy who's video pointed me to Font Awesome. The buttons and icons were pretty easy to implement but it too me a number of hours... (39 Replies)
Discussion started by: Neo
39 Replies

3. What is on Your Mind?

Small bug in the Quick Editor function in postbit

Hey, There was a small bug in the Quick Editor function in postbit, but I fixed it (basically a double quote was missing from an element id): <div id="post_message_$post" class="neo-message-area">$post</div> Was <div id="post_message_$post class="neo-message-area">$post</div> Should... (1 Reply)
Discussion started by: Neo
1 Replies

4. What is on Your Mind?

New Mobile Navbar Icons from Font Awesome

Just changed the mobile site to use Font Awesome icons. Here is the new top navbar view (unregistered users) https://www.unix.com/members/1-albums214-picture903.jpeg (2 Replies)
Discussion started by: Neo
2 Replies

5. What is on Your Mind?

Quick Update on UNIX.COM Site Renovation: Bootstrap, Font Awesome and jQuery

Here is an update on the site renovation: After a lot of analysis and example programming, including testing out a number of Javascript framework and libraries, in the short term, we are getting the most bang-for-the-buck from these three basic, core tech areas: Bootstrap (CSS and... (2 Replies)
Discussion started by: Neo
2 Replies

6. What is on Your Mind?

New CODE and ICODE Editor Button Icons

As promised, I have changed the CODE tag icon and the ICODE tag icon in our WYSIWYG editors to use Font Awesome. CODE Tag = fa-code ICODE Tag = fa-terminal https://www.unix.com/members/1-albums215-picture966.png The reason for this change is to continue our move toward Font Awesome... (4 Replies)
Discussion started by: Neo
4 Replies
RESCAN-SCSI-BUS.SH(1)						   User Commands					     RESCAN-SCSI-BUS.SH(1)

NAME
rescan-scsi-bus.sh - script for adding and removing SCSI devices without rebooting SYNOPSIS
rescan-scsi-bus.sh [options] [host [host ...]] OPTIONS
-a, --alltargets scan all targets, not just currently existing [default: disabled] -d enable debug [default: 0] -l activates scanning for LUNs 0--7 [default: 0] -L NUM activates scanning for LUNs 0--NUM [default: 0] -w, --wide scan for target device IDs 0--15 [default: 0--7] -c enables scanning of channels 0 1 [default: 0 / all detected ones] -r, --remove enables removing of devices [default: disabled] -f, --flush flush failed multipath devices [default: disabled] -i, --issue-lip issue a FibreChannel LIP reset [default: disabled] -u, --update look for existing disks that have been remapped -s, --resize look for resized disks and reload associated multipath devices, if applicable --forcerescan rescan existing devices --forceremove remove and readd every device (DANGEROUS) --nooptscan don't stop looking for LUNs is 0 is not found --color use coloured prefixes OLD/NEW/DEL --hosts=LIST scan only host(s) in LIST --channels=LIST scan only channel(s) in LIST --ids=LIST scan only target ID(s) in LIST --luns=LIST scan only lun(s) in LIST --sync, --nosync issue a sync / no sync [default: sync if remove] --attachpq3 tell kernel to attach sg to LUN 0 that reports PQ=3 --reportlun2 tell kernel to try REPORT_LUN even on SCSI2 devices --largelun tell kernel to support LUNs > 7 even on SCSI2 devs --sparselun tell kernel to support sparse LUN numbering Host numbers may thus be specified either directly on cmd line (deprecated) or or with the --hosts=LIST parameter (recommended). LIST: A[-B][,C[-D]]... is a comma separated list of single values and ranges (No spaces allowed.) SEE ALSO
rescan-scsi-bus.sh Homepage: http://www.garloff.de/kurt/linux/#rescan-scsi sg3_utils Homepage: http://sg.danny.cz/sg rescan-scsi-bus.sh 1.57 leden 2014 RESCAN-SCSI-BUS.SH(1)
All times are GMT -4. The time now is 08:27 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy